统计2~n之间的素数个数,n=30时,输出为10。(2,3,5,7,11,13,17,19,23,29) 转载于:https://www.cnblogs.com/qilinart/articles/4861122.html