QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#841921#9967. Imbalanced Teamsucup-team2818#WA 1ms3724kbC++141.5kb2025-01-04 08:51:322025-01-04 08:51:33

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3676kb

input:

6 2
2 5 7 2 5 2

output:

8 6

result:

ok 2 number(s): "8 6"

Test #2:

score: 0
Accepted
time: 0ms
memory: 3672kb

input:

5 2
1 1 1 1 1

output:

0 15

result:

ok 2 number(s): "0 15"

Test #3:

score: 0
Accepted
time: 0ms
memory: 3724kb

input:

2 1
1 1

output:

0 1

result:

ok 2 number(s): "0 1"

Test #4:

score: 0
Accepted
time: 0ms
memory: 3724kb

input:

2 1
1 2

output:

1 1

result:

ok 2 number(s): "1 1"

Test #5:

score: 0
Accepted
time: 0ms
memory: 3608kb

input:

10 4
3 3 1 2 4 6 2 4 4 1

output:

12 1

result:

ok 2 number(s): "12 1"

Test #6:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

14 3
57 57 57 57 57 57 57 57 57 57 57 57 57 57

output:

0 30030

result:

ok 2 number(s): "0 30030"

Test #7:

score: 0
Accepted
time: 0ms
memory: 3664kb

input:

13 5
858336 900782 858336 900782 900782 858336 900782 858336 858336 858336 858336 858336 52093

output:

976027 280

result:

ok 2 number(s): "976027 280"

Test #8:

score: 0
Accepted
time: 0ms
memory: 3656kb

input:

14 4
447923 447923 447923 211106 447923 447923 447923 447923 16966 447923 211106 515550 211106 211106

output:

1209035 224

result:

ok 2 number(s): "1209035 224"

Test #9:

score: 0
Accepted
time: 1ms
memory: 3660kb

input:

2000 935
57596 988638 30477 956599 52986 460052 987863 291984 947848 109335 541003 338365 939256 297365 926486 944912 700042 810595 412192 37130 343207 311311 681629 48155 319677 435667 731251 919378 254216 893282 661237 740159 787502 501360 517533 349880 565298 536545 192793 18666 425164 856977 536...

output:

493241703 1

result:

ok 2 number(s): "493241703 1"

Test #10:

score: -100
Wrong Answer
time: 0ms
memory: 3596kb

input:

2000 1000
101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101493 101...

output:

0 236399791

result:

wrong answer 2nd numbers differ - expected: '36237869', found: '236399791'