QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#640763#5641. Magical Mystery Knight's TourZhaoZiLong0 1ms3596kbC++173.7kb2024-10-14 15:50:442024-10-14 15:50:44

详细


Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3596kb

input:

50
1
 1 48 -1 -1 33 -1 63 18
30 51 -1  3 -1 -1 -1 -1
-1 -1 -1 -1 15 -1 -1 -1
-1 -1 -1 45 -1 -1 36 -1
-1 -1 25 -1  9 -1 21 60
-1 -1 -1 -1 24 57 12 -1
-1  6 -1 -1 39 -1 -1 -1
54 -1 42 -1 -1 -1 -1 -1
2
18 -1 10 -1 -1 31 42 -1
11 -1 -1 -1 -1 -1 51 30
-1 17 -1 -1 32 -1 -1 43
-1 12 61 20  5 -1 -1 52
-1 -1...

output:

1
1 48 31 50 33 16 63 18
30 51 46 3 62 19 14 35
47 2 49 32 15 34 17 64
52 29 4 45 20 61 36 13
5 44 25 56 9 40 21 60
28 53 8 41 24 57 12 37
43 6 55 26 39 10 59 22
54 27 42 7 58 23 38 11
2
1 48 31 50 33 16 63 18
30 51 46 3 62 19 14 35
47 2 49 32 15 34 17 64
52 29 4 45 20 61 36 13
5 44 25 56 9 40 21 60...

result:

wrong answer 11th lines differ - expected: '18 63 10 39 50 31 42  7', found: '1 48 31 50 33 16 63 18'