{"width":"100%","description":"Ryuji's answer TypeScript import * as fs from 'fs' const input = fs.readFileSync(\"/dev/stdin\", \"utf8\") const [nv, alist] = input.split(\"\\n\") const [n,v,..._] = nv.split(\" \").map(Number) const list = alist.split(\" \").map(Number) type LastIndex = { (numArray: number[], v: number): number }; const last\u2026","title":"2022\u5e745\u670814\u65e5 \u30a2\u30eb\u30b4\u5f0f \u756a\u5916\u7de8","author_name":"morning_6","image_url":"https://i.imgur.com/DCaTuNe.png","provider_url":"https://hatena.blog","categories":["\u30a2\u30eb\u30b4\u5f0f","\u756a\u5916\u7de8"],"published":"2022-05-14 09:09:37","height":"190","blog_title":"\uff16\u6642\u3060\u30e7!!\u5168\u54e1\u96c6\u5408!!","url":"https://morning-6.hatenablog.com/entry/2022/05/14/090937","author_url":"https://blog.hatena.ne.jp/morning_6/","blog_url":"https://morning-6.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmorning-6.hatenablog.com%2Fentry%2F2022%2F05%2F14%2F090937\" title=\"2022\u5e745\u670814\u65e5 \u30a2\u30eb\u30b4\u5f0f \u756a\u5916\u7de8 - \uff16\u6642\u3060\u30e7!!\u5168\u54e1\u96c6\u5408!!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_name":"Hatena Blog","version":"1.0"}