UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88575#1715. 蛇形填数COdEtreE1002ms1188kbC++111.5kb2020-02-13 17:08:112020-02-13 17:08:13

answer


详细

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

Test #1:

score: 10
Accepted
time: 1ms
memory: 1188kb

input:

1

output:

1

result:

ok single line: '1'

Test #2:

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

input:

2

output:

1 2
3 4

result:

ok 2 lines

Test #3:

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

input:

3

output:

1 2 6
3 5 7
4 8 9

result:

ok 3 lines

Test #4:

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

input:

4

output:

1 2 6 7
3 5 8 13
4 9 12 14
10 11 15 16

result:

ok 4 lines

Test #5:

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

input:

5

output:

1 2 6 7 15
3 5 8 14 16
4 9 13 17 22
10 12 18 21 23
11 19 20 24 25

result:

ok 5 lines

Test #6:

score: 10
Accepted
time: 1ms
memory: 1180kb

input:

6

output:

1 2 6 7 15 16
3 5 8 14 17 26
4 9 13 18 25 27
10 12 19 24 28 33
11 20 23 29 32 34
21 22 30 31 35 36

result:

ok 6 lines

Test #7:

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

input:

7

output:

1 2 6 7 15 16 28
3 5 8 14 17 27 29
4 9 13 18 26 30 39
10 12 19 25 31 38 40
11 20 24 32 37 41 46
21 2...

result:

ok 7 lines

Test #8:

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

input:

8

output:

1 2 6 7 15 16 28 29
3 5 8 14 17 27 30 43
4 9 13 18 26 31 42 44
10 12 19 25 32 41 45 54
11 20 24 33 4...

result:

ok 8 lines

Test #9:

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

input:

9

output:

1 2 6 7 15 16 28 29 45
3 5 8 14 17 27 30 44 46
4 9 13 18 26 31 43 47 60
10 12 19 25 32 42 48 59 61
1...

result:

ok 9 lines

Test #10:

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

input:

10

output:

1 2 6 7 15 16 28 29 45 46
3 5 8 14 17 27 30 44 47 64
4 9 13 18 26 31 43 48 63 65
10 12 19 25 32 42 4...

result:

ok 10 lines