fn fractional_knapsack(capacity: i32, weights: &[i32], values: &[i32]) -> f64 {
    // your move
}