QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#102279#6303. InversionMaMengQiWA 182ms35172kbC++112.0kb2023-05-02 20:46:452023-05-02 20:46:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 182ms
memory: 35172kb

input:

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

output:

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

result:

wrong output format Unexpected end of file - int32 expected