QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#549743#8939. PermutationraincityRE 0ms0kbC++141.0kb2024-09-06 20:52:212024-09-07 16:11:22

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

input:

3
5
3
2
5
6
6
1
4
5

output:

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

result: