QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#521399#2199. Intriguing Selectionahihi1234WA 1ms3736kbC++141.0kb2024-08-16 10:06:022024-08-16 10:06:03

詳細信息

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