文章
43
粉丝
24
获赞
292
访问
6.5k
#include <bits/stdc++.h> using namespace std; int main(){ int cnt=0; for(int i=100;i<=1000;i++){ if(i%5==0&&i%6==0){ cnt++; if(cnt==10){ cout<<i<<endl; cnt=0; } else{ cout<<i<<' '; } } } }
登录后发布评论
暂无评论,来抢沙发