| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 83821 | sh25_huangse | 数组滚动 | C++ | 通过 | 0 MS | 256 KB | 393 | 2026-02-02 20:41:43 |
#include<iostream> using namespace std; int main(){ int n; cin>>n; int a[n][n]; for(int i=0;i<n;++i){ for(int j=0;j<n;++j){ cin>>a[i][j]; } } for(int i=1;i<n;++i){ for(int j=0;j<n;++j){ cout<<a[i][j]<<" "; } cout<<endl; } for(int i=0;i<n;++i) cout<<a[0][i]<<" "; return 0; }