{"categories":[],"type":"rich","author_name":"inamori","version":"1.0","image_url":null,"blog_url":"https://inamori.hateblo.jp/","author_url":"https://blog.hatena.ne.jp/inamori/","provider_name":"Hatena Blog","published":"2025-06-23 23:39:11","title":"AtCoder Beginner Contest 411 E","width":"100%","description":"https://atcoder.jp/contests/abc411/tasks/abc411_e\u5165\u529b\u4f8b\u306b\u3042\u308b\u3088\u3046\u306b\u3069\u306e\u76ee\u3068\u3069\u306e\u76ee\u304c\u51fa\u305f\u3089\u3001\u3068\u3044\u3046\u306e\u3067\u306f\u306a\u304f\u3001\u3053\u306e\u76ee\u304c\u6700\u5927\u306b\u306a\u308b\u78ba\u7387\u3092\u8a08\u7b97\u3057\u307e\u3059\u3002\u5168\u3066\u306e\u76ee\u3092\u964d\u9806\u306b\u30bd\u30fc\u30c8\u3057\u3066\u3001\u3064\u3044\u3067\u306b\u305d\u306e\u30b5\u30a4\u30b3\u30ed\u3067\u4f55\u756a\u76ee\u306b\u5c0f\u3055\u3044\u304b\u3092\u30da\u30a2\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u6700\u521d\u306fp = 1\u3068\u3057\u3001\u305d\u306e\u30b5\u30a4\u30b3\u30ed\u3067\u4f55\u756a\u76ee\u304b\u3092i\u3068\u3059\u308b\u3068\u3001p/6\u304c\u305d\u306e\u78ba\u7387\u3067\u3001p = p * (i - 1) / i\u3068update\u3057\u307e\u3059\u3002 // E [max] #![allow(non_snake_case)] //////////////////// library //////////////////// fn\u2026","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F06%2F23%2F233911\" title=\"AtCoder Beginner Contest 411 E - 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>","url":"https://inamori.hateblo.jp/entry/2025/06/23/233911","blog_title":"inamori\u2019s diary","height":"190"}