#abc300d. D - AABCC
D - AABCC
Score : points
问题陈述
有多少不大于 的正整数可以表示为 形式,其中 、 和 是三个 质数 ,且满足 ?
以上为通义千问 qwen-max 翻译,仅供参考。
Problem Statement
How many positive integers no greater than can be represented as with three primes , and such that ?
Constraints
- is an integer satisfying .
Input
The input is given from Standard Input in the following format:
Output
Print the answer as an integer.
Sample Input 1
1000
Sample Output 1
3
The conforming integers no greater than are the following three.
Sample Input 2
1000000000000
Sample Output 2
2817785
update @ 2024/3/10 08:24:17