2023-05-04から1日間の記事一覧
https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_ar単なる組合せですね。 // Combination Hard #![allow(non_snake_case)] //////////////////// constants //////////////////// const D: i64 = 1000000007; ///////////////////…