{"height":"190","version":"1.0","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","type":"rich","image_url":null,"author_name":"inamori","description":"https://atcoder.jp/contests/abc405/tasks/abc405_f\u30a8\u30c3\u30b8\u306e\u7aef\u70b9\u3092x\u3068y\u3068\u3059\u308b\u3068\u3001\u30a8\u30c3\u30b8\u3092\u5e73\u9762\u4e0a\u306e\u70b9\u3068\u8003\u3048\u308b\u307e\u3059\u3002\u305d\u3046\u3059\u308b\u3068\u3001\u305d\u308c\u3068\u4ea4\u5dee\u3059\u308b\u30a8\u30c3\u30b8\u306e\u7aef\u70b9(x1, y1)\u306f\u30011 \u2264 x1 < x\u304b\u3064x < y1 < y\u3001\u307e\u305f\u306f\u3001x < x1 < y\u304b\u3064y < y1 \u2264 N*2\u3092\u6e80\u305f\u305b\u3070\u3088\u3044\u3067\u3059\u3002\u3059\u306a\u308f\u3061\u6307\u5b9a\u3057\u305f2\u3064\u306e\u77e9\u5f62\u5185\u306e\u70b9\u3092\u6570\u3048\u308c\u3070\u3088\u3044\u3067\u3059\u3002 \u3053\u308c\u3092\u9ad8\u901f\u306b\u6c42\u3081\u308b\u306b\u306f2\u6b21\u5143\u306eSegment Tree\u3092\u4f5c\u308c\u3070\u3088\u3044\u3067\u3059\u3002\u3059\u306a\u308f\u3061\u3001x\u65b9\u5411\u306bSegment Tree\u3092\u4f5c\u3063\u3066\u3001\u305d\u306e\u8981\u7d20\u3092y\u65b9\u5411\u306eSegment Tree\u306b\u3057\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u3053\u308c\u3067\u306f\u30e1\u30e2\u30ea\u304c\u98df\u3044\u3059\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F2025%2F05%2F15%2F164436\" title=\"AtCoder Beginner Contest 405 F - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":[],"blog_title":"inamori\u2019s diary","url":"https://inamori.hateblo.jp/entry/2025/05/15/164436","width":"100%","author_url":"https://blog.hatena.ne.jp/inamori/","blog_url":"https://inamori.hateblo.jp/","title":"AtCoder Beginner Contest 405 F","published":"2025-05-15 16:44:36"}