QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#271869#6303. InversionZhangYiDeRE 1ms3588kbC++141.6kb2023-12-02 14:58:352023-12-02 14:58:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0
0
1
0

output:

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

result:

ok OK, guesses=4

Test #2:

score: -100
Runtime Error

input:

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

output:

? 1 474
? 2 474
? 1 473
? 2 473
? 2 474
? 3 474
? 2 473
? 3 473
? 3 474
? 4 474
? 3 473
? 4 473
? 4 474
? 5 474
? 4 473
? 5 473
? 5 474
? 6 474
? 5 473
? 6 473
? 6 474
? 7 474
? 6 473
? 7 473
? 7 474
? 8 474
? 7 473
? 8 473
? 8 474
? 9 474
? 8 473
? 9 473
? 9 474
? 10 474
? 9 473
? 10 473
? 10 474
?...

result: