QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#754936#7535. Limited Shuffle Restoringucup-team138#WA 1ms3832kbC++173.2kb2024-11-16 16:06:432024-11-16 16:06:43

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3832kb

input:

5
>
<
<
>
<
<

output:

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

result:

ok yeah, seems ok, spent 6 queries of 13

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3828kb

input:

1

output:

? 0 1

result:

wrong answer Integer 0 violates the range [1, 1]