QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#272025#6303. InversionxwlWA 50ms7168kbC++14987b2023-12-02 15:43:062023-12-02 15:43:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 50ms
memory: 7168kb

input:

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

output:

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

result:

wrong output format Unexpected end of file - int32 expected