QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#154879#2359. The Five Bishopstemp6WA 3ms3424kbC++203.8kb2023-09-01 01:55:592023-09-01 01:56:00

詳細信息

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 3424kb

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 4 5
4 5 3 4
3 4 4 3
4 3 3 4
3 4 2 4
2 4 3 4
3 4 4 3
4 3 5 4
5 4 4 5
4 5 5 4
5 4 4 5
4 5 5 6
5 6 5 7
5 7 6 7
6 7 5 7
5 7 6 8
6 8 6 7
6 7 7 6
7 6 8 5
8 5 9 6

output:

0 0 0 0
1 2 0 3
1 5 999999996 1000000000
1 1 -39999999 -39999999
2 2 40000002 40000002
0 3 -40000000 -39999997
1 4 40000001 40000004
-39999999 -39999999 1 1
40000002 40000002 9 9
-40000000 -39999997 -1 2
40000001 40000004 8 11
-1 2 0 3
1 1 2 2
0 3 1 4
2 2 3 3
1 4 2 5
3 3 4 4
8 11 7 10
9 9 8 8
2 5 3 ...

result:

wrong answer Move 27: bishop not found at (9, 6)