{"categories":["LiveArchive"],"width":"100%","published":"2014-10-02 15:19:57","image_url":null,"url":"https://logfiles.hatenablog.com/entry/20141002/1412230797","provider_name":"Hatena Blog","author_name":"moistx","blog_title":"Logfiles","description":"\u89e3\u6cd5 \u5165\u529b\u306e\u6587\u5b57\u5217\u3092 next_permutation() \u3057\u3066\u3001\u9806\u306b\u91cd\u306d\u3042\u308f\u305b\u3066\u3044\u304f\u3002\uff12\u3064\u306e\u6587\u5b57\u5217\u306b\u5bfe\u3057\u3066\u91cd\u306d\u5408\u308f\u305b\u3092\u3057\u3066\u3001\u672b\u5c3e\u6587\u5b57\u5217\u304b\u3089\u4e00\u81f4\u3057\u305f\u90e8\u5206\u3092\u5f15\u3044\u305f\u3082\u306e\u3092\u8fd4\u3059\u95a2\u6570 concat() \u3092\u7528\u610f\u3057\u305f\u3002 #include <bits/stdc++.h> using namespace std; #define REP(i,a,b) for(int i=a;i<b;i++) #define rep(i,n) REP(i,0,n) #define chmin(a,x) a=min(a,x) int const INF = 1<<29; string concat(string const& n\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20141002%2F1412230797\" title=\"LiveArchive 4994 Overlapping Scenes - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"LiveArchive 4994 Overlapping Scenes","height":"190","type":"rich","provider_url":"https://hatena.blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/moistx/","blog_url":"https://logfiles.hatenablog.com/"}