QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#732885#9570. Binary Treeucup-team2540#WA 8ms7928kbC++205.1kb2024-11-10 16:17:342024-11-10 16:17:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 7716kb

input:

2
5
0 0
1 5
2 4
0 0
0 0
2
0
2
0 2
0 0
2

output:

? 5 3
? 3 4
! 3
? 1 2
! 2

result:

ok OK (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 8ms
memory: 7928kb

input:

5555
8
2 0
8 6
0 0
3 0
0 0
7 0
0 0
5 4
2
2
2
8
0 0
1 4
2 0
0 0
7 8
0 0
3 0
6 0
2

output:

? 4 2
? 1 6
? 6 7
! 7
? 2 7
? 33 5

result:

wrong answer Integer parameter [name=u] equals to 33, violates the range [1, 8] (test case 2)