QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#695384#6868. Klee likes making friendsZhangYiDeAC ✓787ms15916kbC++231.6kb2024-10-31 19:55:372024-10-31 19:55:43

详细

Test #1:

score: 100
Accepted
time: 787ms
memory: 15916kb

input:

11
10 9
3 6 5 7 8 8 5 6 4 7
15 4
3034 6855 8797 12515 5315 13315 3021 5948 1618 5781 1305 4266 7634 8049 5990
15 2
6722 6887 1628 19483 16034 5800 2683 3444 10818 11900 13443 5020 11435 1033 4029
15 9
8450 8445 6959 2822 15741 16970 10576 13954 16766 12222 14601 10913 1683 16651 7250
381 30
17958 71...

output:

9
33346
120359
15081
55485
157758
106256
880
1898
657
739

result:

ok 11 lines