竞赛
考级
适合新手 关注+点赞,嘻嘻
版本二。 我发现嵌套都是成对的。
版本三。
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,s; cin>>n; for(int i=1;i<=n;i++) { for(int j=i;j<=n;j++) { cout<<j<<" "; } cout<<endl; } return 0; }
提交答案之后,这里将显示提交结果~