{"provider_url":"https://hatena.blog","description":"https://atcoder.jp/contests/abc248/tasks/abc248_a\u307e\u305a\u306f\u3001\u3061\u3087\u3063\u3068\u30c6\u30af\u30cb\u30ab\u30eb\u3067\u5fdc\u7528\u304c\u5229\u304b\u306a\u3044\u304c\u5b9f\u88c5\u304c\u697d\u306a\u65b9\u6cd5\u3092\u4f7f\u3063\u3066\u307f\u307e\u3059\u3002Python\u306a\u3089\u3053\u3046\u3067\u3059\u3002 def F(S): s = sum(int(c) for c in S) return 45 - s \u3053\u308c\u3092Rust\u306b\u3059\u308b\u3068\u3001 let s: i32 = S.chars().map(|c| (c as i32) - 48).sum(); let d = 45 - s; String\u306echars\u30e1\u30bd\u30c3\u30c9\u3067char\u306eiterator\u8fd4\u3057\u307e\u3059\u3002 // Lacked Number #![allow(non\u2026","height":"190","categories":[],"published":"2022-07-15 19:31:42","blog_title":"inamori\u2019s diary","blog_url":"https://inamori.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/inamori/","provider_name":"Hatena Blog","width":"100%","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2022%2F07%2F15%2F193142\" title=\"AtCoder Beginner Contest 248 A\uff081\uff09 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","type":"rich","author_name":"inamori","url":"https://inamori.hateblo.jp/entry/2022/07/15/193142","title":"AtCoder Beginner Contest 248 A\uff081\uff09"}