<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>UVa</anon>
  </categories>
  <description>解法 瓶に入れる色を next_permutation で決め打ちする全探索。メモ 瓶とボトルが両方３個なのでわかりにくい？という風な問題。瓶の番号なのか、色つきボトルの入力の並びの番号なのかをはっきりさせる。図に書いても良い。 #include &lt;bits/stdc++.h&gt; using namespace std; int arr[3][3]; // [number][color] int ans; string astr; string const Ini = &quot;BGC&quot;; void solve() { string now = Ini; sort(now.begin(), now.en…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140904%2F1409835419&quot; title=&quot;UVa102 Ecological Bin Packing - Logfiles&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-04 21:56:59</published>
  <title>UVa102 Ecological Bin Packing</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140904/1409835419</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
