{"provider_name":"Hatena Blog","version":"1.0","provider_url":"https://hatena.blog","published":"2023-06-19 23:42:40","author_name":"bouzuya","author_url":"https://blog.hatena.ne.jp/bouzuya/","width":"100%","title":"\u968e\u6bb5 (Stairs) (\u65e5\u672c\u60c5\u5831\u30aa\u30ea\u30f3\u30d4\u30c3\u30af \u6625\u5408\u5bbf 2010 day1-3) \u3092\u89e3\u3044\u305f","description":"\u968e\u6bb5 (Stairs) (\u65e5\u672c\u60c5\u5831\u30aa\u30ea\u30f3\u30d4\u30c3\u30af \u6625\u5408\u5bbf 2010 day1-3) https://atcoder.jp/contests/joisc2010/tasks/joisc2010_stairs https://atcoder.jp/contests/joisc2010/submissions/42747893 DP \u7d20\u6734\u306b\u300c\u8cb0\u3046 DP \u300d\u3067\u66f8\u304f\u3068 O(N2) \u3067\u9593\u306b\u5408\u308f\u306a\u3044 \u8cb0\u3046\u90e8\u5206\u3092\u7d2f\u7a4d\u548c\u3067\u6c42\u3081\u308c\u3070\u9593\u306b\u5408\u3046 \u66f8\u7c4d\u3067\u306f\u3057\u3083\u304f\u3068\u308a\u6cd5\u3067\u89e3\u3044\u3066\u3042\u3063\u305f use proconio::input; use superslice::Ext; fn main() { input! { n: usiz\u2026","blog_url":"https://bouzuya.hatenablog.com/","categories":[],"url":"https://bouzuya.hatenablog.com/entry/2023/06/19/234240","height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbouzuya.hatenablog.com%2Fentry%2F2023%2F06%2F19%2F234240\" title=\"\u968e\u6bb5 (Stairs) (\u65e5\u672c\u60c5\u5831\u30aa\u30ea\u30f3\u30d4\u30c3\u30af \u6625\u5408\u5bbf 2010 day1-3) \u3092\u89e3\u3044\u305f - bouzuya.hatenablog.com\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"bouzuya.hatenablog.com"}