Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
363361 李铭泽 【C4-8】二维数组输入输出 C++ 输出超限 0 31 MS 256 KB 288 2025-11-23 21:38:29

Tests(0/1):


#include<bits/stdc++.h> using namespace std; int n,m,a[4][3],l,r,s,c; int main(){ cin>>n,m; for(int i=1;i<=4;i++){ for(int j=1;j<=3;j++){ a[i][j]=++c; } } for(int i=1;i<=4;i++){ for(int j=1;j<=3;j++){ cout<<a[i][j]<<" "; } cout<<endl; } return 0; }


测评信息: