ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#171360 | #1000. 二维数组 | heyuzhen | 100 | 1ms | 1196kb | C++ | 240b | 2023-06-22 21:55:55 | 2023-06-22 21:55:56 |
answer
#include <bits/stdc++.h>
using namespace std;
#define ll long long
ll n,m,a;
int main(){
cin >> n >> m;
for(ll i = 1;i <= n;i++){
for(ll j = 1;j <= m;j++){
cin >> a;
cout << a << " ";
}cout <<"\n";
}
return 0;
}
详细
小提示:点击横条可展开更详细的信息
Test #1:
score: 25
Accepted
time: 1ms
memory: 1196kb
input:
3 3 2 4 9 0 7 4 2 8 5
output:
2 4 9 0 7 4 2 8 5
result:
ok 3 lines
Test #2:
score: 25
Accepted
time: 0ms
memory: 1196kb
input:
5 6 71 39 95 89 91 29 98 87 3 2 82 51 87 44 95 20 85 66 12 47 90 15 96 28 72 17 77 54 18 37
output:
71 39 95 89 91 29 98 87 3 2 82 51 87 44 95 20 85 66 12 47 90 15 96 28 72 17 77 54 18 37
result:
ok 5 lines
Test #3:
score: 25
Accepted
time: 0ms
memory: 1192kb
input:
9 11 7 73 68 44 2 66 80 69 73 38 31 36 40 62 13 50 43 46 9 43 40 48 51 4 26 15 1 24 77 49 61 81 22 9...
output:
7 73 68 44 2 66 80 69 73 38 31 36 40 62 13 50 43 46 9 43 40 48 51 4 26 15 1 24 77 49 61 81 22 94 ...
result:
ok 9 lines
Test #4:
score: 25
Accepted
time: 0ms
memory: 1140kb
input:
output:
result:
ok 0 lines