{"width":"100%","blog_url":"https://inarizuuuushi.hatenablog.com/","title":"\u30d5\u30e9\u30af\u30b7\u30e7\u30ca\u30eb\u30ab\u30b9\u30b1\u30fc\u30c7\u30a3\u30f3\u30b0\u5fdc\u7528","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2022%2F09%2F05%2F090000\" title=\"\u30d5\u30e9\u30af\u30b7\u30e7\u30ca\u30eb\u30ab\u30b9\u30b1\u30fc\u30c7\u30a3\u30f3\u30b0\u5fdc\u7528 - Sabrou-mal \u30b5\u30d6\u30ed\u30a6\u4e38\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","height":"190","published":"2022-09-05 09:00:00","categories":["\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u5468\u8fba","python"],"description":"k-th number \u65b9\u6cd5 fractional cascading \u5b9f\u88c5 \u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u307e\u3068\u3081 \u307e\u3068\u3081 k-th number \u6570\u5217a_1, a_2, ..., a_n\u3068\u30af\u30a8\u30ea\u3092\u8868\u3059\u6570\u306e3\u3064\u7d44\u307f\u304cm\u500b\u4e0e\u3048\u3089\u308c\u308b\u3002\u5404\u30af\u30a8\u30ea(i, j, k)\u306b\u5bfe\u3057a_i, ..., a_j\u3092\u6607\u9806\u306b\u30bd\u30fc\u30c8\u3057\u305f\u969b\u306ek\u756a\u76ee\u306e\u6570\u3092\u51fa\u529b\u305b\u3088\u3002 n \u2264 1000000 m \u2264 5000 |a_i| \u2264 109 2104 -- K-th Number \u5358\u7d14\u306b\u30af\u30a8\u30ea\u3054\u3068\u306b\u90e8\u5206\u914d\u5217\u306e\u53d6\u308a\u51fa\u3057\u2192\u30bd\u30fc\u30c8\u3092\u884c\u3046\u3068\u8a08\u7b97\u91cf\u306fm * O(n log n) = O(m n log n)\u3067\u3059\u3002\u554f\u984c\u306en\u306e\u6700\u5927\u5024\u304c\u5927\u304d\u3044\u306e\u3067\u8a08\u7b97\u91cf\u3092\u3082\u3046\u5c11\u3057\u5c0f\u3055\u304f\u3057\u2026","type":"rich","url":"https://inarizuuuushi.hatenablog.com/entry/2022/09/05/090000","provider_url":"https://hatena.blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/i/inarizuuuushi/20220813/20220813184654.png","author_url":"https://blog.hatena.ne.jp/inarizuuuushi/","author_name":"inarizuuuushi","blog_title":"Sabrou-mal \u30b5\u30d6\u30ed\u30a6\u4e38","version":"1.0"}