Problem 01knapsack
User Xiaoyang
Submission Time 2023-06-03 00:43:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

01knapsack.cpp:59:35: error: stray ‘#’ in program
59 | rnd = np.random.RandomState(5) # 3 .98 = 117,100
| ^
01knapsack.cpp:1:1: error: ‘import’ does not name a type
1 | import numpy as np
| ^~~~~~
01knapsack.cpp:37:35: error: ‘curr_valu’ does not name a type
37 | curr_packing = adj_packing; curr_valu = adj_v
| ^~~~~~~~~
01knapsack.cpp:42:37: error: ‘curr_valu’ does not name a type
42 | curr_packing = adj_packing; curr_valu = adj_v
| ^~~~~~~~~