QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#741003#6303. InversionHuangHanShengWA 78ms19496kbC++141.2kb2024-11-13 12:55:132024-11-13 12:55:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3888kb

input:

3
0
1
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Wrong Answer
time: 78ms
memory: 19496kb

input:

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

output:

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

result:

wrong output format Unexpected end of file - int32 expected