QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#68703#4585. Greedy KnapsackMaMengQiRE 0ms0kbC++14666b2022-12-18 22:45:182022-12-18 22:45:22

詳細信息

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: