| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 63920 | 殷震轩 | 矩阵对角线 | C++ | Output Limit Exceeded | 2 MS | 276 KB | 265 | 2024-01-20 13:51:48 |
#include<bits/stdc++.h> using namespace std; int main(){ int i,j,m,n,a[105][105]; cin>>n>>m; for(i=1;i<=n;i++){ for(j=1;j<=m;j++){ cin>>a[i][j]; } } for(j=1;j<=m;j++){ for(i=n;i>=1;i--) cout<<a[i]<<" "; cout<<endl; } return 0; }