2023-07-06から1日間の記事一覧

アルゴリズムと数学 081

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_bm倍数、倍数の関係になっているので、上位の札から枚数を数えていくだけですね。 // Bill Changing Problem #![allow(non_snake_case)] //////////////////// library //////////…