QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#129701#6303. Inversionchenchi#WA 37ms19348kbC++231.5kb2023-07-22 22:21:062023-07-22 22:21:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 5ms
memory: 19348kb

input:

3
0
0

output:

? 1 2
? 1 3
! 2 3 1 

result:

ok OK, guesses=2

Test #2:

score: -100
Wrong Answer
time: 37ms
memory: 19340kb

input:

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

output:

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

result:

wrong answer Wa.