{"url":"https://drken1215.hatenablog.com/entry/2024/08/04/012109","blog_url":"https://drken1215.hatenablog.com/","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440","provider_name":"Hatena Blog","published":"2024-08-04 01:21:09","title":"AtCoder ABC 042 B - \u6587\u5b57\u5217\u5927\u597d\u304d\u3044\u308d\u306f\u3061\u3083\u3093\u30a4\u30fc\u30b8\u30fc (4Q, \u8336\u8272, 200 \u70b9)","description":"\u4f55\u6c17\u306b\u3061\u3083\u3093\u3068\u8a3c\u660e\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3001\u7d50\u69cb\u5927\u5909\u306a\u554f\u984c\u306a\u6c17\u3082\u3059\u308b\uff01 \u554f\u984c\u3078\u306e\u30ea\u30f3\u30af \u554f\u984c\u6982\u8981 \u9577\u3055\u304c \u3067\u3042\u308b \u500b\u306e\u6587\u5b57\u5217 \u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 \u3053\u308c\u3089\u3092\u597d\u304d\u306a\u9806\u756a\u3067\u3059\u3079\u3066\u7d50\u5408\u3057\u3066\u5f97\u3089\u308c\u308b\u6587\u5b57\u5217\u306e\u3046\u3061\u3001\u8f9e\u66f8\u9806\u6700\u5c0f\u306e\u3082\u306e\u3092\u6c42\u3081\u3088\u3002 \u5236\u7d04 \u8003\u3048\u305f\u3053\u3068 \u76f4\u611f\u7684\u306b\u306f\u3001 \u3092\u8f9e\u66f8\u9806\u3067\u5c0f\u3055\u3044\u9806\u306b\u4e26\u3073\u66ff\u3048\u3066\u3001\u305d\u306e\u9806\u306b\u7d50\u5408\u3057\u3066\u3044\u3051\u3070\u3088\u3055\u305d\u3046\u3067\u3042\u308b\u3002 \u3053\u308c\u306f\u3001\u5b9f\u969b\u6b63\u3057\u3044\u3002\u305f\u3060\u3057\u3001\u305d\u308c\u306f\u6587\u5b57\u5217\u306e\u9577\u3055\u304c\u3059\u3079\u3066\u7b49\u3057\u3044\u304b\u3089\u3067\u3042\u308b\u3002 \u306a\u304a\u3001\u3053\u306e\u89e3\u6cd5\u306e\u8a08\u7b97\u91cf\u306f \u3068\u306a\u308b\u3002 \u6587\u5b57\u5217\u306e\u9577\u3055\u304c\u7b49\u3057\u304f\u306a\u3044\u3068\u304d\u306e\u4f8b\u5916\u30b1\u30fc\u30b9 \u6587\u5b57\u5217\u306e\u9577\u3055\u304c\u7b49\u3057\u304f\u306a\u3044\u3068\u304d\u306f\u4f8b\u5916\u304c\u3042\u308b\u3002\u305f\u3068\u3048\u3070\u30012 \u500b\u306e\u6587\u5b57\u5217 \"b\", \"ba\" \u3092\u9023\u7d50\u3059\u308b\u3068\u304d\u3001\u8f9e\u66f8\u9806\u3067\u5c0f\u3055\u3044\u9806\u306b\u4e26\u3073\u66ff\u2026","categories":["Greedy:\u8f9e\u66f8\u9806\u6700\u5c0f\u3092\u6c42\u3081\u308b","\u8f9e\u66f8\u9806","\u89e3\u7a7a\u9593:O(N!)\u901a\u308a\u306e\u9078\u629e\u80a2","\u6587\u5b57\u5217\u306econcat\u3092\u8003\u3048\u308b\u554f\u984c","N\u500b\u306e\u6587\u5b57\u5217\u306e\u554f\u984c","\u6700\u9069\u5316\u554f\u984c","\u6700\u5927\u30b9\u30b3\u30a2","\u8003\u5bdf\uff1a\u30bd\u30fc\u30c8","\u3010\u554f\u984c\u96c6\u3011\u30bd\u30fc\u30c8","\u30bd\u30fc\u30c8:\u6587\u5b57\u5217","\u6587\u5b57\u5217","\u6613\u3057\u3044\u6587\u5b57\u5217\u306e\u554f\u984c","AtCoder","AtCoder200\u70b9","ABC-B","\u8336\u8272diff","NoviSteps4Q"],"author_name":"drken1215","provider_url":"https://hatena.blog","height":"190","blog_title":"\u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/drken1215/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F08%2F04%2F012109\" title=\"AtCoder ABC 042 B - \u6587\u5b57\u5217\u5927\u597d\u304d\u3044\u308d\u306f\u3061\u3083\u3093\u30a4\u30fc\u30b8\u30fc (4Q, \u8336\u8272, 200 \u70b9) - \u3051\u3093\u3061\u3087\u3093\u306e\u7af6\u30d7\u30ed\u7cbe\u9032\u8a18\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%"}