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

アルゴリズムと数学 063

https://atcoder.jp/contests/math-and-algorithm/tasks/math_and_algorithm_bb奇数だと市松模様を考えれば存在しないことは明らかで、偶数だとパスが簡単に分かりますね。 // Move on Squares 2 #![allow(non_snake_case)] //////////////////// library //…