3 条题解
- 1
信息
- ID
- 360
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 1
- 标签
- 递交数
- 76
- 已通过
- 61
- 上传者
#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 <= n; j++) cout << j;
cout << "\n";
}
}
#include <bits/stdc++.h>
using namespace std;
int n;
int main()
{
cin >> n;
for (int i = 1; i <= n; i++)
{
for (int j = 1; j <= n; j++)
{
cout << j;
}
cout << endl;
}
return 0;
}