Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
116488 | 秦浩然 | 二维数组的最大值与最小值 | C++ | Wrong Answer | 1 MS | 268 KB | 309 | 2025-04-12 10:47:39 |
#include<bits/stdc++.h> using namespace std; int a[3][3]; int main(){ //输入 for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ cin>>a[i][j]; } } //输出 for(int i=0;i<3;i++){ for(int j=0;j<3;j++){ cout<<a[i][j]<<" "; } cout<<endl; } return 0; }
------Input------
3 1 2 3 4 5 6 7 8 9
------Answer-----
1 9
------Your output-----
3 1 2 3 4 5 6 7 8