QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#544127#6253. Appeal to the Audience ZhaoZiLongWA 18ms16312kbC++201.5kb2024-09-02 09:58:342024-09-02 09:58:36

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 5604kb

input:

5 3
5 4 3
0
0
1
1

output:

17

result:

ok single line: '17'

Test #2:

score: 0
Accepted
time: 5ms
memory: 5600kb

input:

11 7
30 5 15 1 3 100 50
0
0
1
0
2
5
2
5
5
1

output:

454

result:

ok single line: '454'

Test #3:

score: -100
Wrong Answer
time: 18ms
memory: 16312kb

input:

99999 50000
776281622 281552176 560818893 743574034 28371581 29065388 861522831 399277410 127891403 337521653 333045937 201722127 532376484 866178821 488930207 533328467 280762095 777881963 698720876 926181033 678638871 483709812 805740065 609341704 534943664 598002301 497944186 842902577 127602924 ...

output:

1506993165

result:

wrong answer 1st lines differ - expected: '74974456112141', found: '1506993165'