Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
165319 王慕哲 二维数组的存储 C++ Accepted 1 MS 264 KB 361 2026-11-14 17:04:00

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int a[3][4]; int main(){ int b; for (int i=0;i<3;i++){ for (int j=0;j<4;j++){ cin>>b; a[i][j]=b; } } for (int i=0;i<3;i++){ for (int j=0;j<4;j++){ cout<<setw(4)<<a[i][j]; } cout<<'\n'; } return 0; }