文章
65
粉丝
25
获赞
690
访问
31.1k
#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<<' '; } } } }
登录后发布评论
暂无评论,来抢沙发