QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102288#6303. InversionZhangYiDeWA 211ms19048kbC++201.8kb2023-05-02 21:07:082023-05-02 21:07:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 9ms
memory: 19048kb

input:

3
1
0
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Wrong Answer
time: 211ms
memory: 19036kb

input:

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

output:

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

result:

wrong output format Unexpected end of file - int32 expected