QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#68705#4585. Greedy KnapsackZhangYiDeRE 0ms0kbC++666b2022-12-18 22:46:162022-12-18 22:46:18

詳細信息

Test #1:

score: 0
Dangerous Syscalls

input:

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

output:

0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  
0  0  0  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  4  
0  0  0  4  4  6  6  6  10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 
0  0  0  4  4  6  6  7  10 10 11 11 13 13 13 17 17 17 17 17 17 17 17 
0  0  0  4  4  6  6 ...

result: