{"provider_url":"https://hatena.blog","type":"rich","author_name":"h0rnet","image_url":null,"author_url":"https://blog.hatena.ne.jp/h0rnet/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh0rnet.hatenablog.com%2Fentry%2F2017%2F03%2F15%2FCFR_215_D__Hot_Days_%2528_Greedy_%2529\" title=\"CFR 215 D. Hot Days ( Greedy ) - 0w1\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Problem - 215D - Codeforces\u984c\u610f\uff1a \u6709 N \u500b\u5730\u9ede\u8981\u4f9d\u5e8f\u62dc\u8a2a\u3002\u6bcf\u500b\u5730\u9ede\u90fd\u8981\u53eb\u81f3\u5c11\u4e00\u53f0\u8eca\uff0c\u4e00\u53f0\u8eca\u7684\u82b1\u8cbb\u70ba cost\u3002\u8eca\u7684\u6eab\u5ea6\u70ba t\uff0c\u5b78\u751f\u80fd\u5fcd\u53d7\u7684\u6eab\u5ea6\u70ba T\u3002\u4e00\u500b\u8eca\u5167\u5982\u679c\u6709 x \u500b\u5b78\u751f\uff0c\u90a3\u9ebc\u8a72\u8eca\u7684\u6eab\u5ea6\u70ba t + x\u3002\u5c0d\u65bc\u4e00\u500b\u8eca\uff0c\u5982\u679c\u8eca\u7684\u6eab\u5ea6\u5927\u65bc T\uff0c\u5728\u8eca\u88e1\u9762\u7684\u6240\u6709\u5b78\u751f\u90fd\u8981\u5206\u5225\u8ce0\u511f x\u3002\u6c42\u6700\u5c0f\u7e3d\u82b1\u8cbb\u3002\u8cc7\u6599\u898f\u6a21\uff1a The first input line contains two integers n and m (1 \u2264 n \u2264 1e5; 1 \u2264 m \u2264 1e6) \u2014 the number of regions on the way and the number of sc\u2026","version":"1.0","published":"2017-03-15 14:41:09","provider_name":"Hatena Blog","title":"CFR 215 D. Hot Days ( Greedy )","categories":["Codeforces","Greedy"],"blog_url":"https://h0rnet.hatenablog.com/","blog_title":"0w1","url":"https://h0rnet.hatenablog.com/entry/2017/03/15/CFR_215_D__Hot_Days_%28_Greedy_%29","height":"190"}