QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#251420#6303. Inversionucup-team2321#TL 1ms3740kbC++201.3kb2023-11-14 18:46:132023-11-14 18:46:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0
0
0
1
0
0
1

output:

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

result:

ok OK, guesses=7

Test #2:

score: -100
Time Limit Exceeded

input:

1993
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0...

output:

? 1 2
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
? 1 2
? 2 3
? 1 3
...

result: