Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
80454 sh25_zhuwy 图像旋转 C++ 通过 0 MS 248 KB 342 2026-01-04 15:17:46

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; int a[n][m]; for(int i=0;i<n;++i){ for(int j=0;j<m;++j){ cin>>a[i][j]; } } for(int j=0;j<m;++j){ for(int i=n-1;i>=0;--i){ cout<<a[i][j]<<" "; } cout<<endl; } return 0;}


测评信息: