{"description":"\u554f\u984c \u6574\u6570x\u3068y\u3001val\u304c\u4e0e\u3048\u3089\u308c\u308b\u3002 x\u3068y\u30922\u3064\u305a\u3064\u4f7f\u3063\u3066\u9069\u5f53\u306bX\u306b\u5165\u308c\u305f\u3068\u3057\u3066\u300cX op X op X op X\u300d\u306e\u7b54\u3048\u304cval\u3068\u306a\u308b\u3082\u306e\u306e\u500b\u6570\u3092\u8fd4\u3059\u3002op\u306b\u306f\u305d\u308c\u305e\u308c\u300c+\u304b-\u304b*\u306e\u3069\u308c\u304b\u300d\u304c\u5165\u308b\u3002 \u305f\u3060\u3057\u3001\u8a08\u7b97\u9806\u5e8f\u306fop\u306e\u7a2e\u985e\u306b\u95a2\u4fc2\u306a\u304f\u524d\u304b\u3089\u8a08\u7b97\u3055\u308c\u308b\u3002 \u300c2+2*3+3\u300d\u306f\u300c4*3+3\u300d\u2192\u300c12+3\u300d\u2192\u300c15\u300d\u3068\u306a\u308b\u3002 \u8003\u3048\u65b9 \u3084\u308b\u3060\u3051\u3002 \u914d\u5217\u306bx\u30922\u3064\u3068y\u30922\u3064\u5165\u308c\u3001\u30bd\u30fc\u30c8\u3057\u3066next_permutation\u3067\u56de\u3059\u3002 \u6570\u5b57\u306e\u4e26\u3073\u304c\u6c7a\u307e\u3063\u305f\u306e\u3067\u3001op\u306b\u3064\u3044\u30663\u91cd\u30eb\u30fc\u30d7\u3092\u56de\u3057\u3066op\u3092\u6c7a\u3081\u3066\u3001\u305d\u306e\u5024\u304cval\u306e\u6570\u3092\u6570\u3048\u308b\u3002","published":"2011-01-09 03:24:55","version":"1.0","height":"190","provider_url":"https://hatena.blog","image_url":null,"width":"100%","title":"SRM398 Div2 500","blog_url":"https://phyllo-algo.hatenadiary.org/","type":"rich","author_url":"https://blog.hatena.ne.jp/phyllo_algo/","blog_title":"\u308c\u3069\u3053\u3060\u76ee\u6307\u3059\u3088\uff01\u3000(\uff1b`\u30fb\u03c9\u30fb\uff09","provider_name":"Hatena Blog","author_name":"phyllo_algo","url":"https://phyllo-algo.hatenadiary.org/entry/20110109/1294597495","categories":["\u3068\u3077\u3053\u3060","\u904e\u53bb\u554f"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20110109%2F1294597495\" title=\"SRM398 Div2 500 - \u308c\u3069\u3053\u3060\u76ee\u6307\u3059\u3088\uff01\u3000(\uff1b`\u30fb\u03c9\u30fb\uff09\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}