QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#439915#6303. Inversionyoy68TL 2ms21744kbC++171.3kb2024-06-12 20:33:122024-06-12 20:33:12

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 21744kb

input:

3
0
1
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Time Limit Exceeded

input:

1993
0
0
0
0
1
0
0
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
1
0
1
0
0
1
1
1
0
0
0
0
1
0
1
1
0
0
0
0
0
1
0
1
0
0
0
1
0
0
1
0
1
0
1
1
0
0
0
0
0
0
0
0
0
1
1
1
1
1
0
1
1
0
1
1
0
0
0
1
0
1
1
1
0
1
0
0
1
1
1
1
0
0
1
1
0
1
0
0
0
1
1
1
0
0
1
0
0
0
0
1
1
1
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
1
1
1
1
1
1
1
0
1
0
0
0
1
1
1...

output:

? 612 1190
? 613 1191
? 613 1190
? 612 1191
? 1191 1249
? 1192 1250
? 1192 1249
? 1191 1250
? 612 1249
? 613 1250
? 613 1249
? 612 1250
? 1205 1249
? 1206 1250
? 1206 1249
? 1205 1250
? 860 1249
? 861 1250
? 861 1249
? 860 1250
? 1250 1371
? 1251 1372
? 1251 1371
? 1250 1372
? 210 1249
? 211 1250
? ...

result: