{"type":"rich","height":"190","version":"1.0","categories":["UVa"],"width":"100%","author_url":"https://blog.hatena.ne.jp/moistx/","description":"\u89e3\u6cd5 \u74f6\u306b\u5165\u308c\u308b\u8272\u3092 next_permutation \u3067\u6c7a\u3081\u6253\u3061\u3059\u308b\u5168\u63a2\u7d22\u3002\u30e1\u30e2 \u74f6\u3068\u30dc\u30c8\u30eb\u304c\u4e21\u65b9\uff13\u500b\u306a\u306e\u3067\u308f\u304b\u308a\u306b\u304f\u3044\uff1f\u3068\u3044\u3046\u98a8\u306a\u554f\u984c\u3002\u74f6\u306e\u756a\u53f7\u306a\u306e\u304b\u3001\u8272\u3064\u304d\u30dc\u30c8\u30eb\u306e\u5165\u529b\u306e\u4e26\u3073\u306e\u756a\u53f7\u306a\u306e\u304b\u3092\u306f\u3063\u304d\u308a\u3055\u305b\u308b\u3002\u56f3\u306b\u66f8\u3044\u3066\u3082\u826f\u3044\u3002 #include <bits/stdc++.h> using namespace std; int arr[3][3]; // [number][color] int ans; string astr; string const Ini = \"BGC\"; void solve() { string now = Ini; sort(now.begin(), now.en\u2026","blog_url":"https://logfiles.hatenablog.com/","image_url":null,"blog_title":"Logfiles","author_name":"moistx","url":"https://logfiles.hatenablog.com/entry/20140904/1409835419","title":"UVa102 Ecological Bin Packing","published":"2014-09-04 21:56:59","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140904%2F1409835419\" title=\"UVa102 Ecological Bin Packing - Logfiles\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog"}