Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
27608 | 唐心 | 二维数组的存储 | C++ | Accepted | 1 MS | 752 KB | 323 | 2022-06-07 11:16:52 |
#include<iostream> #include<cstdio> #include<cstring> using namespace std; int main() { int i,j,arr[3][4] = {0}; for(i=0;i<3;i++) { for(j=0;j<4;j++) { cin>>arr[i][j]; } } for(i=0;i<3;i++) { for(j=0;j<4;j++) { printf("%4d",arr[i][j]); } cout<<endl; } return 0; }