Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
42654 | 陈栋 | 数组转置 | C++ | Accepted | 2 MS | 276 KB | 276 | 2022-11-23 22:11:47 |
#include<bits/stdc++.h> using namespace std; int main(){ long long a[4][4],m; for(int i=1;i<=3;i++){ for(int j=1;j<=3;j++){ cin>>a[i][j]; } } for(int i=1;i<=3;i++){ for(int j=1;j<=3;j++){ cout<<a[j][i]<<" "; } cout<<endl; } return 0; }