Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
11984 | 蒋瀚辉 | 二维数组的存储 | C++ | Accepted | 1 MS | 720 KB | 266 | 2021-05-18 16:44:33 |
#include <bits/stdc++.h> using namespace std; int a[5][5]; int main() { for(int i=1;i<=3;i++) for(int j=1;j<=4;j++) cin >>a[i][j]; for(int i=1;i<=3;i++) { for(int j=1;j<=4;j++) cout << setw(4) << a[i][j]; cout << endl; } return 0; }