题解
2025-06-14 13:00:08
发布于:浙江
0阅读
0回复
0点赞
#include<bits/stdc++.h>
using namespace std;
int main(){
int a=1,k=6,n;
for(int i=1;i<=35;i++){
cin>>n;
if(i==a){
n+=10;
a+=7;
}
else if(i==k){
n+=10;
k+=5;
}
else n+=0;
cout<<n<<" ";
if(i%6==0) cout<<endl;
}
cin>>n;
cout<<n+10;
return 0;
}
这里空空如也
有帮助,赞一个