QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#637766#8239. Mysterious Treeucup-team4949#WA 1ms3988kbC++141.1kb2024-10-13 14:02:282024-10-13 14:02:28

詳細信息

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)