QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#19075#1877. Matryoshka DollshyddTL 0ms0kbC++143.6kb2022-01-27 23:29:202022-05-06 03:54:09

详细

Test #1:

score: 0
Time Limit Exceeded

input:

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

output:


result: