rust-comp-snippets icon indicating copy to clipboard operation
rust-comp-snippets copied to clipboard

comb_table is broken

Open akiradeveloper opened this issue 3 years ago • 0 comments

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 {

akiradeveloper avatar Mar 19 '22 06:03 akiradeveloper