Problem B. How many prime numbers

时间限制 1000 ms   内存限制 32 MB

  Give you a lot of positive integers, just to find out how many prime numbers there are.
 

输入数据

  There are a lot of cases. In each case, there is an integer N representing the number of integers to find. Each integer won’t exceed 32-bit signed integer, and each of them won’t be less than 2.
 

输出数据

  For each case, print the number of prime numbers you have found out.
 

样例输入

复制
3
2 3 4

样例输出

提交

请先 登录

© 2025 FAQs Contact About