QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#555748#8939. PermutationnyctivoeWA 5ms3612kbC++172.1kb2024-09-10 09:06:032024-09-10 09:06:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 5ms
memory: 3600kb

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)