标签:io sp for bs amp nbsp br ca return
#include <stdio.h>
int main()
{
int n,i,j,h=0;
scanf("%d",&n);
for(i=2;i<=n;i++)
{
for(j=2;j<=i;j++)
{
if((i%j==0)&&(i!=j)) break;
else {printf("%d\n",i);break;}
}
}
return 0;
}
标签:io sp for bs amp nbsp br ca return
原文地址:http://www.cnblogs.com/guangluwutu/p/4167577.html