QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#510635#5199. Amazing TrickHuangHanShengTL 0ms0kbC++171.7kb2024-08-09 10:09:062024-08-09 10:09:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Time Limit Exceeded

input:

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

output:


result: