| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 74877 | sh25_wangsj | 矩阵转置 | C++ | Accepted | 0 MS | 252 KB | 319 | 2025-12-05 14:36:38 |
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c[666],x; cin>>a>>b; for(int i=1;i<=a*b;i++){ cin>>x; c[i]=x; } for(int i=1;i<=a;i++){ for(int j=0;j<b;j++){ cout<<c[i+j*3]<<" "; } cout<<endl; } return 0; }