{"type":"rich","width":"100%","blog_url":"https://inamori.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/inamori/","height":"190","author_name":"inamori","provider_name":"Hatena Blog","url":"https://inamori.hateblo.jp/entry/2025/05/05/204153","published":"2025-05-05 20:41:53","title":"AtCoder Beginner Contest 403 F","categories":[],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F05%2F05%2F204153\" title=\"AtCoder Beginner Contest 403 F - 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>","blog_title":"inamori\u2019s diary","provider_url":"https://hatena.blog","version":"1.0","image_url":null,"description":"https://atcoder.jp/contests/abc403/tasks/abc403_fDP\u306a\u306e\u3067\u3059\u304c\u3001\u8db3\u3057\u7b97\u306e\u7d50\u679c\u306f\u6b21\u306b\u62ec\u5f27\u3092\u3064\u3051\u306a\u3044\u3068\u639b\u3051\u7b97\u306b\u4f7f\u3048\u306a\u3044\u3068\u3053\u308d\u304c\u3044\u3084\u3089\u3057\u3044\u306e\u3067\u3001\u639b\u3051\u7b97\u306b\u4f7f\u3048\u308b\u306e\u3068\u4f7f\u3048\u306a\u3044\u306e\u4e21\u65b9\u306e\u5024\u3092\u4fdd\u6301\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u3042\u3068111\u3068\u304b\u306f\u6700\u521d\u306b\u6c7a\u3081\u3066\u304a\u304d\u307e\u3059\u3002 // Shortest One Formula #![allow(non_snake_case)] //////////////////// library //////////////////// fn read<T: std::str::FromStr>() -> T { let mut line = Stri\u2026"}