{"author_name":"moistx","type":"rich","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140827%2F1409152054\" title=\"SRM416 Div1Easy NextNumber - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["SRM"],"author_url":"https://blog.hatena.ne.jp/moistx/","height":"190","blog_title":"Logfiles","provider_name":"Hatena Blog","image_url":null,"published":"2014-08-27 00:07:34","title":"SRM416 Div1Easy NextNumber","version":"1.0","description":"\u554f\u984c \u4e0e\u3048\u3089\u308c\u305f \u6574\u6570 N(32-signed integer. 1\u89e3\u6cd5 \u30d3\u30c3\u30c8\u5316\u3057\u3066\u8f9e\u66f8\u9806\u3067\u6b21\u306b\u73fe\u308c\u308b\u30d3\u30c3\u30c8\u5217\u3092\u6301\u3064\u6570\u5b57\u304c\u7b54\u3048\u3002editorial\u89e3\u3002\u53cd\u7701 \u306f\u3058\u3081\u30d3\u30c3\u30c8\u306e\u5c0f\u3055\u3044\u6841\u304b\u3089\u898b\u3066 1 \u3068 0 \u3068\u3092\u4e00\u5ea6\u5165\u308c\u66ff\u3048\u308b\u3001\u307f\u305f\u3044\u306a\u3053\u3068\u3057\u3066\u89e3\u3053\u3046\u3068\u3057\u3066\u3044\u305f\u3002next_permutation() \u3092\u4e00\u56de\u884c\u3046\u3068\u3044\u3046\u767a\u60f3\u304c\u7121\u304b\u3063\u305f\u3002 #include <bits/stdc++.h> using namespace std; class NextNumber { public: int getNextNumber(int N) { int b[32]; for(int i=0; i<32; i++) b\u2026","provider_url":"https://hatena.blog","blog_url":"https://logfiles.hatenablog.com/","url":"https://logfiles.hatenablog.com/entry/20140827/1409152054"}