{"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/h0rnet/","image_url":null,"blog_url":"https://h0rnet.hatenablog.com/","published":"2017-01-16 21:54:13","categories":["Codeforces","DP","Greedy"],"url":"https://h0rnet.hatenablog.com/entry/2017/01/16/CFR_67_A__Partial_Teacher_%28_DP%2C_Greedy_%29","description":"Problem - A - Codeforces WA \u597d\u591a\u6b21... \u984c\u610f\uff1a \u6709 N \u500b\u6578\u5b57\uff0c\u7d66\u4f60\u5169\u5169\u4e4b\u9593\u7684\u5927\u5c0f\u95dc\u4fc2\uff0c\u5de6\u5927\uff0c\u5de6\u5c0f\uff0c\u6216\u76f8\u7b49\u3002\u6c42\u7e3d\u548c\u6700\u5c0f\u7684\u5408\u6cd5\u6578\u5217\u9577\u76f8\u3002\u8cc7\u6599\u898f\u6a21\uff1a The first line of input contains the number of students n (2 \u2264 n \u2264 1000). The second line gives (n - 1) characters consisting of \"L\", \"R\" and \"=\". For each pair of adjacent students \"L\" means that the left studen\u2026","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fh0rnet.hatenablog.com%2Fentry%2F2017%2F01%2F16%2FCFR_67_A__Partial_Teacher_%2528_DP%252C_Greedy_%2529\" title=\"CFR 67 A. Partial Teacher ( DP, 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>","version":"1.0","type":"rich","width":"100%","title":"CFR 67 A. Partial Teacher ( DP, Greedy )","provider_name":"Hatena Blog","author_name":"h0rnet","blog_title":"0w1"}