QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#129768#6303. Inversionchenchi#RE 1ms19296kbC++231.7kb2023-07-22 23:32:352023-07-22 23:32:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: