QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#251419#6303. Inversionucup-team2321#TL 1ms3448kbC++201.2kb2023-11-14 18:44:012023-11-14 18:44:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: