QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#726873#6303. InversionHuangHanShengWA 74ms3692kbC++17878b2024-11-09 09:48:432024-11-09 09:48:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 74ms
memory: 3632kb

input:

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

output:

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

result:

wrong answer Wa.