QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#829282#8939. Permutationucup-team6173#WA 43ms3896kbC++141.1kb2024-12-24 08:54:152024-12-24 08:54:22

详细

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 43ms
memory: 3760kb

input:

10000
10
2
2
2
2
2

output:

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

result:

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