求N以内的素数 题目: 求1,2,…,N中素数的个数 输入格式: 一个整数N 输出格式: 一个整数,表示素数的个数 输入样例: 10 输出样例: 4 #include<iostream> using namespace std; int main(){ int n,num=0; cin>>