QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#541167#8939. Permutationucup-team4687#WA 1ms3696kbC++203.0kb2024-08-31 18:48:122024-08-31 18:48:13

详细

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3684kb

input:

10000
10
2
1
2
2
3

output:

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

result:

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