| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 127783 | 张永良 | 数组转置 | C++ | Wrong Answer | 0 MS | 268 KB | 338 | 2025-07-29 13:14:44 |
#include<iostream> using namespace std; int main(){ int n,m; cin >> n >> m; int a[n][m]; for(int i = 0;i < n;i++){ for(int j = 0;j < m;j++){ cin >> a[i][j]; } } for(int i = 0;i < n;i++){ for(int j = m - 1;j >= 0;j--) cout << a[j][i] << " "; } return 0; }
------Input------
1 2 2359 23 439 2 239 309 13
------Answer-----
1 23 239 2 439 309 2359 2 13
------Your output-----
4196074 2359