C语言7.8

Time Limit: 1000ms
Memory Limit: 32768KB
64-bit integer IO format: %lld      Java class name: Main

Description

用筛选法求100之内的素数,并输出。

Input

Output

在一行中输出100之内的所有素数,在每个素数后输出一个空格。
请注意行尾输出换行。

Sample Input

Sample Output

2 3 5 7 11...

Author

Admin
Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .