QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#557805#8939. PermutationbobcheeseburgerWA 2ms3604kbC++176.2kb2024-09-11 11:28:402024-09-11 11:28:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
5
3
2
5
6
6
3
1
4
3
3

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3580kb

input:

10000
10
2
2
2
1
3
10

output:

? 1 10
? 1 6
? 1 4
? 1 2
? 3 4
! 4
! 4

result:

wrong answer Wrong prediction (test case 2)