| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83441 | 石茂诤 | 矩阵转置 | C++ | Accepted | 6 MS | 292 KB | 307 | 2024-07-14 14:56:02 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m,t; cin>>n>>m; int a[n+1][m+1]; int z=0; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ cin>>a[i][j]; } } for(int j=0;j<m;j++){ for(int i=0;i<n;i++){ cout<<a[i][j]<<' '; } cout<<endl; } return 0; }