2023-03-13から1日間の記事一覧

アルゴリズムと数学 038

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_aiあらかじめ累積を計算しておくだけですね。 // How Many Guests? #![allow(non_snake_case)] //////////////////// library //////////////////// fn read<T: std::str::FromStr>() -> T { let mut lin</t:>…