QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#607624#8939. Permutationucup-team3556#WA 4ms3740kbC++173.4kb2024-10-03 15:35:202024-10-03 15:35:20

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 4ms
memory: 3740kb

input:

10000
10
2
2
2
3

output:

? 1 10
? 1 8
? 1 6
? 1 3
? 3 6

result:

wrong answer Too long queries, n = 10, now length 31 (test case 1)