QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#538285#8939. Permutationucup-team4688#RE 1ms3612kbC++14753b2024-08-31 10:02:422024-08-31 10:02:42

詳細信息

Test #1:

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

input:

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

output:

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

result:

ok Correct (3 test cases)

Test #2:

score: -100
Runtime Error

input:

10000
10
2
1
3
7

output:

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

result: