#P93. 【数组】筛法求素数
【数组】筛法求素数
Description
用筛法求之N内的素数。 n<=50000000
Input Format
N
Output Format
0~N的素数
Sample
样例输入
100
样例输出
2
3
5
7
11
13
17
19
23
29
31
37
41
43
47
53
59
61
67
71
73
79
83
89
97
Hint
友情提示
用printf不要用cout
Related
In following homework: