| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 37819 | jiabokai | 图像旋转 | C++ | Accepted | 0 MS | 256 KB | 287 | 2024-01-23 14:15:39 |
#include<bits/stdc++.h> using namespace std; int main() { int n,m,a[105][105]; cin>>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]<<" "; } cout<<endl; } return 0; }