{"author_name":"hamayanhamayan","version":"1.0","url":"https://blog.hamayanhamayan.com/entry/2018/11/24/223217","title":"Sum AND Subarrays [Dwango Programming Contest V / \u7b2c5\u56de \u30c9\u30ef\u30f3\u30b4\u304b\u3089\u306e\u6311\u6226\u72b6 \u4e88\u9078 B]","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F11%2F24%2F223217\" title=\"Sum AND Subarrays [Dwango Programming Contest V / \u7b2c5\u56de \u30c9\u30ef\u30f3\u30b4\u304b\u3089\u306e\u6311\u6226\u72b6 \u4e88\u9078 B] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" 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,"categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","provider_url":"https://hatena.blog","type":"rich","description":"https://beta.atcoder.jp/contests/dwacon5th-prelims/tasks/dwacon5th_prelims_b \u89e3\u8aac https://beta.atcoder.jp/contests/dwacon5th-prelims/submissions/3660039\u307e\u305a\u3001\u7a7a\u3067\u306a\u3044\u9023\u7d9a\u3059\u308b\u90e8\u5206\u5217\u306f\u5168\u5217\u6319\u53ef\u80fd\u306a\u306e\u3067\u3084\u308b\u3002 \u672c\u5f53\u306b\u611a\u76f4\u306b\u3084\u308b\u3068O(N^3)\u639b\u304b\u308b\u304c\u3001\u3042\u308b\u533a\u9593[L,R]\u306e\u7dcf\u548c\u306f\u7d2f\u7a4d\u548c\u3092\u7528\u3044\u308b\u3068O(1)\u306b\u3067\u304d\u308b\u306e\u3067\u3001 O(N^2)\u3067\u5b9f\u73fe\u3067\u304d\u308b\u3002 \u5168\u5217\u6319\u3057\u305f\u90e8\u5206\u5217\u306e\u7dcf\u548c\u3092\u914d\u5217v\u306b\u5165\u308c\u3066\u304a\u304f\u3002 \u6b21\u306b\u3001AND\u548c\u306e\u6700\u5927\u5024\u3092\u8003\u3048\u308b\u304c\u3001\u30d3\u30c3\u30c8\u3054\u3068\u306b\u8003\u3048\u3066\u3044\u3053\u3046\u3002 \u8caa\u6b32\u2026","blog_url":"https://blog.hamayanhamayan.com/","height":"190","provider_name":"Hatena Blog","published":"2018-11-24 22:32:17","width":"100%"}