Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
139477 | 林麒瑞 | 回型方阵 | C++ | 解答错误 | 0 | 0 MS | 248 KB | 303 | 2024-03-23 17:27:41 |
#include<bits/stdc++.h> using namespace std; int main(){ const int n=3; int a[n+1][n+1]; for(int i=2;i<=n;i++){ for(int j=1;j<=n;j++){ cin>>a[i][j]; } } for(int i=1;i<=n;i++){ for(int j=2;j<=n;j++){ cout<<right<<a[j][i]<<setw(1); } cout<<endl; } return 0; }