QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#68705#4585. Greedy KnapsackZhangYiDeRE 0ms0kbC++666b2022-12-18 22:46:162022-12-18 22:46:18

Details

Tip: Click on the bar to expand more detailed information

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: