QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#754936#7535. Limited Shuffle Restoringucup-team138#WA 1ms3832kbC++173.2kb2024-11-16 16:06:432024-11-16 16:06:43

Details

Tip: Click on the bar to expand more detailed information

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]