QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#251419#6303. Inversionucup-team2321#TL 1ms3448kbC++201.2kb2023-11-14 18:44:012023-11-14 18:44:03

详细

Test #1:

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

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: