QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102238#6303. InversionHuangHanShengWA 198ms19408kbC++112.0kb2023-05-02 16:36:252023-05-02 16:36:38

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 19304kb

input:

3
0
0
1

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Wrong Answer
time: 198ms
memory: 19408kb

input:

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

output:

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

result:

wrong output format Unexpected end of file - int32 expected