Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
126046 | 张铖睿 | 矩阵倒序输出 | C++ | Accepted | 12 MS | 272 KB | 286 | 2025-07-16 08:54:11 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[11][11],m,n,sum=0; cin>>m>>n; for(int i=1;i<=m;i++) for(int j=1;j<=n;j++) cin>>a[i][j]; for(int i=1;i<=m;i++) { for(int j=n;j>=1;j--) cout<<a[i][j]<<" "; cout<<endl; } return 0; }