| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155305 | 王培臻 | 矩阵旋转 | C++ | Accepted | 6 MS | 352 KB | 312 | 2026-06-06 15:16:26 |
#include<bits/stdc++.h> using namespace std; int main() { long long a[101][101]; long long s,d; cin>>s>>d; for(int i=1;i<=s;i++){ for(int j=1;j<=d;j++){ cin>>a[i][j]; } } for(int j=1;j<=d;j++){ for(int i=s;i>=1;i--){ cout<<a[i][j]<<" "; } cout<<endl; } return 0; }