2024-02-26から1日間の記事一覧

AtCoder Beginner Contest 342 E

https://atcoder.jp/contests/abc342/tasks/abc342_e逆から考えれば単なるダイクストラです。 // Square Pair #![allow(non_snake_case)] use std::cmp::min; //////////////////// library //////////////////// fn read<T: std::str::FromStr>() -> T { let mut line = String::n</t:>…