QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#218443#6303. Inversionucup-team1005#RE 3ms19992kbC++201.7kb2023-10-18 11:53:282023-10-18 11:53:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 19992kb

input:

3
0
1
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Runtime Error

input:

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

output:

? 1 2
? 1 3
? 2 3
? 1 4
? 2 4
? 3 4
? 1 5
? 2 5
? 5 6
? 4 6
? 4 5
? 3 6
? 3 5
? 2 6
? 1 6
? 5 7
? 6 7
? 8 9
? 9 10
? 10 11
? 8 11
? 8 10
? 9 11
? 10 12
? 11 12
? 8 12
? 9 12
? 10 13
? 11 13
? 8 13
? 9 13
? 10 14
? 11 14
? 13 14
? 8 14
? 9 14
? 12 14
? 12 13
? 15 16
? 15 17
? 16 17
? 17 18
? 16 18
? ...

result: