QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#275000#6868. Klee likes making friendsGuanYunchangAC ✓211ms34884kbC++20932b2023-12-04 10:20:512023-12-04 10:20:51

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 211ms
memory: 34884kb

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