- 图像旋转
zf
- 2024-2-28 13:59:31 @
#include<bits/stdc++.h>
using namespace std;
int main() {
int x,y;
cin>>x>>y;
int a[x][y];
int b[y][x];
for(int i=1;i<=x;i++){
for(int j=1;j<=y;j++){
cin>>a[x][y];
}
}
for(int j=1;j<=y;j++){
for(int i=1;i<=x;i++){
}
}
for(int j=1;j<=y;j++){
for(int i=1;i<=x;i++){
cout<<b[i][j]<<" ";
}
cout<<"\n";
}
return 0;
}
0 comments
No comments so far...
Information
- ID
- 613
- Time
- 1000ms
- Memory
- 256MiB
- Difficulty
- 4
- Tags
- # Submissions
- 112
- Accepted
- 49
- Uploaded By