QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#637766#8239. Mysterious Treeucup-team4949#WA 1ms3988kbC++141.1kb2024-10-13 14:02:282024-10-13 14:02:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3988kb

input:

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

output:

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

result:

ok Correct (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3956kb

input:

87
13
1
0
1
1
15
0
0
0
0
0
0
0
0
1
1
0

output:

? 7 12
? 7 1
? 12 8
? 12 1
! 2
? 14 6
? 8 2
? 3 7
? 1 4
? 10 5
? 2 4
? 2 14
? 12 3
? 13 9
? 13 12
? 9 5
! 1

result:

wrong answer Wrong prediction (test case 2)