QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#637735#8239. Mysterious Treeucup-team4949#WA 1ms4032kbC++141.1kb2024-10-13 13:56:342024-10-13 13:56:35

详细

Test #1:

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

input:

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

output:

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

result:

ok Correct (2 test cases)

Test #2:

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

input:

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

output:

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

result:

wrong answer Wrong prediction (test case 3)