QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#521399#2199. Intriguing Selectionahihi1234WA 1ms3736kbC++141.0kb2024-08-16 10:06:022024-08-16 10:06:03

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3736kb

input:

2
3
>
>
>
<
<
<
>
>
3
<
<
<
>
<
>
<
<

output:

? 1 2
? 3 4
? 5 6
? 4 2
? 6 2
? 6 4
? 2 5
? 4 5
!
? 1 2
? 3 4
? 5 6
? 3 1
? 5 3
? 5 1
? 3 2
? 5 2
!

result:

wrong answer Case 1: the top n are not uniquely determined: 3 is not compared to 6