#include<stdio.h>标签:爱因斯坦,a%,int,return,includeint,&&,printf,10000 From: https://blog.51cto.com/u_15766378/5787597
int main()
{
int a;
for(a=0;a<10000;a++)
{
if(a%2==1&&a%3==2&&a%5==4&&a%6==5&&a%7==0&&a<1000)
{printf("%d\n",a);
}
}
return 0;
}
#include<stdio.h>标签:爱因斯坦,a%,int,return,includeint,&&,printf,10000 From: https://blog.51cto.com/u_15766378/5787597
int main()
{
int a;
for(a=0;a<10000;a++)
{
if(a%2==1&&a%3==2&&a%5==4&&a%6==5&&a%7==0&&a<1000)
{printf("%d\n",a);
}
}
return 0;
}