QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#635949#8939. Permutationucup-team3627#WA 2ms3660kbC++232.8kb2024-10-12 21:33:422024-10-12 21:33:47

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

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

input:

10000
10
2
3
2
7
5

output:

? 1 10
? 1 3
? 1 7
? 4 7
? 4 6
? 4 5

result:

wrong answer Too many queries , n = 10 , now_q 6 (test case 1)