QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#521674#2199. Intriguing SelectionMaMengQiWA 42ms3812kbC++201.0kb2024-08-16 13:51:242024-08-16 13:51:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok 2 cases

Test #2:

score: -100
Wrong Answer
time: 42ms
memory: 3812kb

input:

1111
3
<
>
<
>
>
>
>
<
>
<
<
<
<
3
<
<
>
<
>
>
<
<
<
<
<
<
3
>
>
>
>
>
>
>
<
<
<
<
<
<
3
>
>
>
<
>
<
>
<
<
<
<
<
<
3
>
>
<
>
>
>
>
<
<
<
<
<
<
3
<
<
<
<
>
<
>
<
<
<
>
<
<
3
<
<
>
>
>
<
<
>
<
<
<
<
3
>
>
>
>
>
>
<
>
>
<
<
<
<
<
3
>
>
>
>
>
<
<
<
<
<
<
>
3
<
<
<
<
>
>
<
>
<
<
<
<
3
>
<
>
<
<
<
<
<
<
<...

output:

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

result:

wrong answer Case 30: all players in topn are comparable