QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#305156#5005. Geekflixezteam1#WA 53ms11096kbC++141.9kb2024-01-14 19:23:242024-01-14 19:23:24

详细

Test #1:

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

input:

3 10
10 10 10
5 3 1

output:

67

result:

ok single line: '67'

Test #2:

score: 0
Accepted
time: 2ms
memory: 9576kb

input:

5 10
1 2 3 4 5
0 1 2 3 4

output:

16

result:

ok single line: '16'

Test #3:

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

input:

5 5
1 5000 1 1 5000
1 3000 1 1 3000

output:

10000

result:

ok single line: '10000'

Test #4:

score: 0
Accepted
time: 53ms
memory: 11096kb

input:

100 500
1676 3766 611 4073 4277 633 1921 650 4074 4382 1027 1849 861 1199 1411 21 2021 2227 1829 2487 1415 4006 3680 2374 2332 1461 4384 3874 3053 2968 1347 4728 3085 3309 3800 2362 3941 2072 3011 4366 1454 4038 1214 3666 236 2624 38 3608 1202 1866 1094 2616 2223 4774 4989 4554 2586 724 3428 1990 43...

output:

824766

result:

ok single line: '824766'

Test #5:

score: -100
Wrong Answer
time: 49ms
memory: 10320kb

input:

100 500
508 2552 683 490 677 3477 709 4486 2355 1264 1624 2964 3056 3539 1053 883 2164 3116 1411 208 3977 3138 2228 640 3273 3185 3820 2130 4223 3520 4771 1082 2423 453 1571 3099 281 3631 2584 2635 4894 559 599 2949 450 3003 183 2613 1119 1593 2820 1447 1082 47 2087 4355 4584 2258 1484 158 777 2606 ...

output:

1052019

result:

wrong answer 1st lines differ - expected: '1048872', found: '1052019'