pub fn knapsack_01( weights: &[i64], values: &[i64], capacity: i64, ) -> Result<i64, Error>
0/1 knapsack.