rust-comp-snippets
rust-comp-snippets copied to clipboard
comb_table is broken
I think the upper bound should be =n_max
fn comb_table(n_max: usize) -> Vec<Vec<i64>> {
let mut dp = vec![vec![0; n_max+1]; n_max+1];
for i in 0..n_max {