QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#251420#6303. Inversionucup-team2321#TL 1ms3740kbC++201.3kb2023-11-14 18:46:132023-11-14 18:46:13

详细

Test #1:

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

input:

3
0
0
0
1
0
0
1

output:

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

result:

ok OK, guesses=7

Test #2:

score: -100
Time Limit Exceeded

input:

1993
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

? 1 2
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
...

result: