QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#553981#8939. PermutationdanielzWA 3ms3620kbC++20781b2024-09-09 00:36:492024-09-09 00:36:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 3ms
memory: 3484kb

input:

10000
10
2
1
2
2
2

output:

? 1 10
? 1 2
? 2 7
? 2 5
? 2 4
! 3

result:

wrong answer Wrong prediction (test case 1)