2022-08-30から1日間の記事一覧

AtCoder Beginner Contest 247 B

https://atcoder.jp/contests/abc247/tasks/abc247_bStringをHashMapのキーにするときには、to_string()をつけるとよいようです。 それから、 match m.get(&k.to_string()) { Some(n) => m.insert(k.to_string(), n + 1), None => m.insert(k.to_string(), 1…