{"version":"1.0","title":"UVa10664 Luggage","provider_name":"Hatena Blog","blog_title":"Logfiles","published":"2014-04-02 16:31:40","categories":["UVa"],"height":"190","author_name":"moistx","width":"100%","image_url":null,"blog_url":"https://logfiles.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140402%2F1396423900\" title=\"UVa10664 Luggage - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u554f\u984c\u6587 http://uva.onlinejudge.org/external/106/10664.html\u89e3\u6cd5 \u53d6\u308b\u53d6\u3089\u306a\u3044\u306eO(2^20)\u306eDFS\u3067\u89e3\u3051\u3070\u3088\u3044\u3002 \u3061\u3087\u3046\u3069\u534a\u5206\u306b\u5206\u3051\u3089\u308c\u308b\u304b\u3069\u3046\u304b\u3092\u5224\u5b9a\u3059\u308b\u304c\u3001\u3053\u3053\u3067\u5165\u529b\u306e\u91cd\u3055\u3092\u5b89\u6613\u306b\u6574\u6570\u9664\u7b97\u3057\u3066\u5207\u308a\u6368\u3066\u306b\u3088\u308b\u30df\u30b9\u3092\u72af\u3055\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u3002\u305f\u3060\u30b5\u30f3\u30d7\u30eb1\u304c\u5207\u308a\u6368\u3066\u306b\u3088\u308b\u9055\u3044\u304c\u73fe\u308c\u308b\u5f62\u5f0f\u306a\u306e\u3067\u3053\u306e\u554f\u984c\u306e\u5834\u5408\u30df\u30b9\u3057\u3066\u3082\u6c17\u3065\u304f\u53ef\u80fd\u6027\u304c\u3042\u308b\u3002 #include <bits/stdc++.h> using namespace std; int lcnt; int luggages[21]; int judge; bool dfs(int idx, int \u2026","url":"https://logfiles.hatenablog.com/entry/20140402/1396423900","author_url":"https://blog.hatena.ne.jp/moistx/","type":"rich","provider_url":"https://hatena.blog"}