QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#68722#4585. Greedy KnapsackGuanYunchangWA 3ms3464kbC++17694b2022-12-19 03:55:032022-12-19 03:55:04

详细

Test #1:

score: 0
Wrong Answer
time: 3ms
memory: 3464kb

input:

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

output:

 10  9  8  7  6  5  4  3  2  1
  1  0  0  0  0  0  0  0  0  0
  3  3  3  3  3  3  3  3  3  0
  4  4  4  4  4  3  3  3  3  0
  5  5  5  5  4  4  4  4  3  1
  6  6  6  5  5  5  5  4  3  1
6

result:

wrong answer 1st lines differ - expected: '3', found: ' 10  9  8  7  6  5  4  3  2  1'