65,210
社区成员
发帖
与我相关
我的任务
分享
int main(void){
int bubbles[100]={0};
for(int n=1;n<=100;++n){
for(int b=1;b<=100;++b){
if(b%n==0){
int idx=b-1;
bubbles[idx]=!bubbles[idx];
}
}
}
int ret=0;
for(int c=0;c<100;++c){
ret+=bubbles[c];
}
printf("%d\n",ret);
return 0;
}