2023-01-29から1日間の記事一覧

アルゴリズムと数学 020

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_t選んだ枚数とカードの数の和を状態としたDPですね。 // Choose Cards 1 #![allow(non_snake_case)] //////////////////// library //////////////////// fn read<T: std::str::FromStr>() -> T { let mu</t:>…