QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#502933#5641. Magical Mystery Knight's Tourxiaowuc10 108ms3592kbC++173.7kb2024-08-03 15:34:362024-08-03 15:34:37

详细


Pretests


Final Tests

Test #1:

score: 0
Wrong Answer
time: 108ms
memory: 3592kb

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
18 63 10 39 50 31 42  7
11 38 19 62 41  8 51 30
64 17 40  9 32 49  6 43
37 12 61 20  5 44 29 52
60 21 16...

result:

wrong answer 33rd lines differ - expected: ' 7 50 41 32 45 26  3 56', found: ' 7 50 41 32 45 56  3 26'