- hello world
字符图形-规律直角2
- @ 2026-3-8 9:49:22
#include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
for(int i=1;i<=n;++i){
for(int j=1;j<=i;++j){
cout<<j<<" ";
}
cout<<endl;
}
return 0;
}
0 条评论
目前还没有评论...
信息
- ID
- 1
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 3
- 标签
- 递交数
- 64
- 已通过
- 33
- 上传者