QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#540683#8939. Permutationucup-team1547#TL 0ms0kbC++141.8kb2024-08-31 17:41:232024-08-31 17:41:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

3
5
3
2
3
6
6
5
3
1

output:

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

result: