QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#129763#6303. Inversionchenchi#RE 1ms19232kbC++232.2kb2023-07-22 23:24:062023-07-22 23:24:09

详细

Test #1:

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

input:

3
0
1
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Dangerous Syscalls

input:

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

output:

? 1191 1205
? 1192 1205
? 1191 1204
? 1192 1204
? 702 1191
? 703 1191
? 702 1190
? 703 1190
? 1205 1769
? 1206 1769
? 1205 1768
? 1206 1768
? 1060 1205
? 1061 1205
? 1060 1204
? 1061 1204
? 702 1060
? 703 1060
? 702 1059
? 703 1059
? 469 1191
? 470 1191
? 469 1190
? 470 1190
? 707 1191
? 708 1191
? ...

result: