QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#154928#2359. The Five Bishopstemp6WA 2ms3868kbC++203.7kb2023-09-01 03:34:052023-09-01 03:34:07

詳細信息

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3868kb

input:

4
1 1 2 2 3 3 4 4 5 5 7 5
1 1 1 2 1 4 1 5 2 2 3 5
3 5 4 5
4 5 4 6
4 6 3 5
3 5 4 6
4 6 3 5
3 5 4 6
4 6 3 6
3 6 3 5
3 5 2 4
2 4 3 3

output:

0 0 0 0
1 2 0 3
1 5 999999996 1000000000
0 3 -10000000 -9999997
1 4 10000001 10000004
-10000000 -9999997 -20000000 3
10000001 10000004 1 20000004
1 1 -9999999 -9999999
2 2 10000002 10000002
-9999999 -9999999 -19999999 1
10000002 10000002 2 20000002
-20000000 3 -10000002 10000000

result:

wrong answer Move 11: cannot move from (-20000000, 3) to (-10000002, 10000000): either blocked or invalid move