UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#128820#1171. 二维数组回形遍历Nick1110028ms1236kbC++643b2021-05-02 13:48:502021-05-02 13:48:51

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 1232kb

input:

78 7
36 3 7 21 54 1 2
22 44 61 14 56 63 12
2 22 6 44 63 21 29
28 36 45 27 31 55 39
41 6 18 29 6 38 5...

output:

36
3
7
21
54
1
2
12
29
39
55
22
43
2
5
41
12
8
57
10
36
47
17
62
49
41
38
48
12
46
14
59
62
36
2
18
...

result:

ok 546 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

41 6
4 42 48 44 30 24
35 18 37 47 17 17
39 53 47 41 47 63
34 16 49 45 34 18
60 35 6 9 21 56
18 55 50...

output:

4
42
48
44
30
24
17
63
18
56
47
37
32
4
24
4
3
6
23
47
5
22
54
59
39
18
22
6
35
25
0
10
9
59
24
2
25...

result:

ok 246 lines

Test #3:

score: 10
Accepted
time: 0ms
memory: 1232kb

input:

64 6
56 42 26 3 58 1
53 12 45 62 0 25
11 21 46 43 18 36
49 59 38 52 32 54
55 60 43 55 40 12
48 22 62...

output:

56
42
26
3
58
1
25
36
54
12
35
28
34
62
2
62
32
46
33
1
18
58
50
60
25
17
6
38
40
50
34
14
23
18
48
...

result:

ok 384 lines

Test #4:

score: 10
Accepted
time: 0ms
memory: 1216kb

input:

29 8
41 10 26 21 19 45 17 7
59 13 58 50 38 52 26 48
34 17 34 36 50 52 36 39
17 28 54 25 12 14 41 17
...

output:

41
10
26
21
19
45
17
7
48
39
17
37
10
31
57
57
63
31
38
30
62
39
46
28
56
26
28
5
58
50
44
61
47
17
...

result:

ok 232 lines

Test #5:

score: 10
Accepted
time: 15ms
memory: 1236kb

input:

97 72
27 11 8 38 7 28 36 5 7 50 29 25 57 41 28 17 12 58 37 29 26 15 19 7 6 31 26 37 8 55 51 24 21 58...

output:

27
11
8
38
7
28
36
5
7
50
29
25
57
41
28
17
12
58
37
29
26
15
19
7
6
31
26
37
8
55
51
24
21
58
39
52...

result:

ok 6984 lines

Test #6:

score: 10
Accepted
time: 0ms
memory: 1236kb

input:

100 23
4 41 14 59 43 52 4 59 17 12 3 24 5 41 47 41 57 37 24 40 18 4 0
44 52 55 28 45 24 50 23 42 28 ...

output:

4
41
14
59
43
52
4
59
17
12
3
24
5
41
47
41
57
37
24
40
18
4
0
7
11
0
59
54
23
62
57
23
0
55
49
53
2...

result:

ok 2300 lines

Test #7:

score: 10
Accepted
time: 8ms
memory: 1220kb

input:

44 50
38 41 38 7 43 55 18 44 41 59 23 22 14 42 29 21 5 33 60 47 18 2 6 0 51 12 62 38 18 13 13 51 62 ...

output:

38
41
38
7
43
55
18
44
41
59
23
22
14
42
29
21
5
33
60
47
18
2
6
0
51
12
62
38
18
13
13
51
62
40
15
...

result:

ok 2200 lines

Test #8:

score: 10
Accepted
time: 2ms
memory: 1224kb

input:

61 39
24 13 61 44 49 44 36 10 56 18 5 59 25 34 42 57 51 41 46 59 57 7 29 11 19 47 26 55 45 17 20 44 ...

output:

24
13
61
44
49
44
36
10
56
18
5
59
25
34
42
57
51
41
46
59
57
7
29
11
19
47
26
55
45
17
20
44
36
50
...

result:

ok 2379 lines

Test #9:

score: 10
Accepted
time: 3ms
memory: 1208kb

input:

4 67
37 61 2 0 62 35 21 44 35 0 51 7 61 12 59 1 11 34 5 25 21 58 48 30 33 11 41 59 31 19 18 28 13 4 ...

output:

37
61
2
0
62
35
21
44
35
0
51
7
61
12
59
1
11
34
5
25
21
58
48
30
33
11
41
59
31
19
18
28
13
4
47
55...

result:

ok 268 lines

Test #10:

score: 10
Accepted
time: 0ms
memory: 1208kb

input:

4 99
34 56 17 44 48 17 44 46 31 23 4 48 1 62 61 56 43 47 27 60 15 32 9 49 15 46 13 28 23 29 22 24 52...

output:

34
56
17
44
48
17
44
46
31
23
4
48
1
62
61
56
43
47
27
60
15
32
9
49
15
46
13
28
23
29
22
24
52
15
1...

result:

ok 396 lines