Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
86081 | 李雨昊 | 数组转置 | C++ | Accepted | 0 MS | 276 KB | 302 | 2024-07-22 12:15:50 |
# include<iostream> using namespace std; int main(){ int n=3,m=3,a[101][101]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>a[j][i]; } }for(int i=0;i<m;i++){ for(int j=0;j<n;j++){ cout<<a[i][j]<<" "; }cout<<endl; } return 0; }