10 条题解
-
1
#include <bits/stdc++,h> using namespace std; const int N=1e3+10; const int INF=0x3f3f3f3f; int n,m,a[N][N]; int main() { cin >> n >> m; for(int i=1;i<=n;i++) { for(int j=1;j<=m;j++) { cin >> a[i][j]; } } for(int j=1;j<=m;j++) { for(int i=n;i>=1;i--) { cout << a[i][j] << " "; } cout << endl; } return 0; } //ts2024stu008~~~~~
有标志认证,属三无产品,请大家放心食用
信息
- ID
- 1071
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 6
- 标签
- 递交数
- 741
- 已通过
- 242
- 上传者