QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#539203#8939. Permutationucup-team3624#WA 2ms3700kbC++176.3kb2024-08-31 14:15:322024-08-31 14:15:33

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
5
3
2
5
6
6
3
1
4
3

output:

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

result:

ok Correct (3 test cases)

Test #2:

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

input:

10000
10
2
2
2
3
5
10

output:

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

result:

wrong answer Wrong prediction (test case 2)