{"blog_url":"https://perogram.hateblo.jp/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2F2020%2F02%2F22%2F092426\" title=\"D - \u30ab\u30fc\u30c9\u4e26\u3079 - perogram\" 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","author_name":"peroon","blog_title":"perogram","height":"190","categories":["JOI"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/peroon/","url":"https://perogram.hateblo.jp/entry/2020/02/22/092426","description":"Quiz https://atcoder.jp/contests/joi2010yo/tasks/joi2010yo_d AC code https://atcoder.jp/contests/joi2010yo/submissions/10252516 \u89e3\u6cd5 next_permutation\u3067\u5168\u3066\u306e\u4e26\u3073\u65b9\u3092\u8003\u616e\u3057\u3001\u5148\u982dk\u500b\u3092\u63a1\u7528\u3059\u308b 3200ms\u304b\u304b\u308b\u304c\u300110\u79d2\u5236\u9650\u306a\u306e\u3067\u5927\u4e08\u592b code\u629c\u7c8b int main(){ cin.tie(0); ios::sync_with_stdio(false); // input ll N,K;cin>>N>>K; VI A(N); rep(i,N)cin>\u2026","provider_url":"https://hatena.blog","published":"2020-02-22 09:24:26","title":"D - \u30ab\u30fc\u30c9\u4e26\u3079","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51mzDM3-y1L._SL160_.jpg","width":"100%"}