瞄了一下回复没忍住,就发了

来源:互联网 发布:淘宝小号批发网 编辑:程序博客网 时间:2024/04/29 14:01

http://student.csdn.net/mcd/topic/235300/753730?order=reply_count&page=1#anchor1

记事本敲的,有错误见谅

int a[100],i,s3,s5;
for(i=0;i<34;i++){
s3=i*3;
s5=i*5;
if(s5<=100){
printf("%d #",s5);
a[s5]=1;
}
if(s3<=100&&a[s3]!=1){
printf("%d *",s3);
}
}


0 0
原创粉丝点击