{"url":"https://tutuz.hateblo.jp/entry/2018/10/03/074039","title":"\u9ad8\u901f\u306a\u7d20\u56e0\u6570\u5206\u89e3","author_url":"https://blog.hatena.ne.jp/d_tutuz/","categories":["\u6570\u5b66","\u7d20\u56e0\u6570\u5206\u89e3"],"height":"190","width":"100%","blog_title":"\u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2","version":"1.0","image_url":"https://chart.apis.google.com/chart?cht=tx&chl=n","provider_url":"https://hatena.blog","blog_url":"https://tutuz.hateblo.jp/","provider_name":"Hatena Blog","type":"rich","author_name":"d_tutuz","published":"2018-10-03 07:40:39","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftutuz.hateblo.jp%2Fentry%2F2018%2F10%2F03%2F074039\" title=\"\u9ad8\u901f\u306a\u7d20\u56e0\u6570\u5206\u89e3 - \u6570\u5b66/\u7af6\u30d7\u30ed\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c \u984c\u6750\u306f\u4ee5\u4e0b\u306e\u554f\u984c\u3067\u3059\u3002 https://codeforces.com/contest/1047/problem/C \u6982\u8981 \u3042\u308b\u6570 \u3092\u7d20\u56e0\u6570\u5206\u89e3\u3092\u3059\u308b\u3068\u304d\u3001\u901a\u5e38\u306f \u307e\u3067\u306e\u7d20\u6570\u3067\u9806\u306b\u5272\u308c\u3070\u3088\u3044\u3002\u3053\u308c\u306f\u8a08\u7b97\u91cf \u3067\u6c42\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002 \u4eca\u56de\u306e\u5834\u5408\u306f\u3001\u914d\u5217 \u306b\u542b\u307e\u308c\u308b \u306e\u3059\u3079\u3066\u306e\u6570\u306b\u3064\u3044\u3066\u7d20\u56e0\u6570\u5206\u89e3\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002\u901a\u5e38\u306e\u65b9\u6cd5\u3067\u7d20\u56e0\u6570\u5206\u89e3\u3059\u308b\u3068 \u3068\u306a\u3063\u3066 1sec \u306e\u5236\u7d04\u3060\u3068 TLE \u3057\u3066\u3057\u307e\u3046\u3002\u8907\u6570\u306e\u6570\u3092\u9ad8\u901f\u306b\u7d20\u56e0\u6570\u5206\u89e3\u3059\u308b\u624b\u6bb5\u304c\u5fc5\u8981\u3067\u3042\u308b\u3002 minFactor[i] := \u306b\u542b\u307e\u308c\u308b\u6700\u5c0f\u306e\u7d20\u56e0\u6570 \u3068\u3059\u308b\u3068\u3001\u3053\u308c\u306f\u4e8b\u524d\u306b [1, MAX] \u306e\u305d\u308c\u305e\u308c\u306e\u6570 \u306b\u3064\u3044\u3066 minFactor[i] \u3092\u6c42\u3081\u2026"}