2023-04-21から1日間の記事一覧

アルゴリズムと数学 047

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_aoグラフをたどるだけですね。 // Bipartite Graph #![allow(non_snake_case)] use std::collections::HashSet; //////////////////// library //////////////////// fn read<T: std::str::FromStr>() -></t:>…