QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#471494#8338. Quad Kingdoms ChessMaMengQiWA 0ms18920kbC++205.2kb2024-07-10 21:36:262024-07-10 21:36:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 18920kb

input:

5
1 2 3 4 5
5
5 4 3 2 1
8
1 1 5
1 4 2
1 2 4
1 5 1
1 5 5
2 1 4
2 3 5
2 5 5

output:

0
1 1000000000
0
0
1000000000 1000000000
0
0
1000000000 1000000000
0
0
1 2
0
0
2 1000000000
0
0
1000000000 1000000000
0
0
2 3
0
0
3 1000000000
0
4
4 1000000000
4
4
3 1000000000
4
4
4 5
4
4
3 5
4
0
5 1000000000
0
0
1000000000 1000000000
0
0
1000000000 1000000000
0
0
5 4
2 2 - 0
5
2 2 + 5
0
0
5 100000...

result:

wrong answer 1st words differ - expected: 'NO', found: '0'