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

アルゴリズムと数学 007

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_g包除原理ですね。これを使うために最小公倍数が要ります。 // Number of Multiples 1 #![allow(non_snake_case)] //////////////////// library //////////////////// fn read<T: std::str::FromStr>() </t:>…