2022-09-06から1日間の記事一覧

AtCoder Beginner Contest 244 B

https://atcoder.jp/contests/abc244/tasks/abc244_b位置と方向をセットにすると簡単です。 // Go Straight and Turn Right #![allow(non_snake_case)] use std::ops::Add; fn read<T: std::str::FromStr>() -> T { let mut line = String::new(); std::io::stdin().read_line(&mut</t:>…