QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#38886#1461. Greedy AlgorithmMaMengQiWA 6ms13920kbC++141.1kb2022-07-08 00:05:252022-07-08 00:05:27

详细

Test #1:

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

input:

2 3
1 2 3
4 5 99

output:

8

result:

ok 1 number(s): "8"

Test #2:

score: 0
Accepted
time: 3ms
memory: 13744kb

input:

3 3
3 2 4
2 2 3
5 4 6

output:

14

result:

ok 1 number(s): "14"

Test #3:

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

input:

5 4
3 6 10 8
0 6 8 8
2 4 5 6
1 5 9 6
3 6 11 12

output:

16

result:

ok 1 number(s): "16"

Test #4:

score: 0
Accepted
time: 6ms
memory: 13748kb

input:

2 5
5 3 6 9 0
4 7 9 4 0

output:

7

result:

ok 1 number(s): "7"

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 13904kb

input:

2 25
16 78 57 53 34 41 38 99 13 81 57 94 31 83 70 13 54 95 10 4 40 77 7 3 84
99 44 69 4 63 51 8 96 78 75 40 0 71 60 77 64 33 61 49 83 79 68 24 80 89

output:

28

result:

wrong answer 1st numbers differ - expected: '29', found: '28'