|
|
|
|
讨论 Discussion |
|
| |
d |
#include <bits/stdc++.h>
using namespace std;
int main() {
freopen("p1725.in","r",stdin);
freopen("p1725.out","w",stdout);
int n;
cin >> n;
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
int m = n - max(i, j);
cout << setw(3) << m;
}
cout << endl;
}
fclose(stdin);
fclose(stdout);
return 0;
}
( ) |
|
|
|
|
|
|
|
|
|
Flag |
|
题号 |
P1064 |
|
其它 |
通过 |
29人 |
提交 |
75次 |
通过率 |
39% |
难度 |
0 |
|
|
|
|
|
|