<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://atcoder.jp/contests/abc119/tasks/abc119_c 解説 https://atcoder.jp/contests/abc119/submissions/4378296与えられた操作は順番によって、状況が変化したり、損をすることが無いので、別々に考えよう。 何か全探索する所を探すと、ある竹について、どの長さを作るのに使うかが全探索できそうな感じがする。 よって、ある竹について「Aで使う」「Bで使う」「Cで使う」「使わない」の4択で全探索する。 O(4^N)となる。 この全探索はdfsを使うのがおすすめ。 dfsで1つ目の竹から順番に4択のどれかを試…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F02%2F24%2F235359&quot; title=&quot;Synthetic Kadomatsu [AtCoder Beginner Contest 119 C] - はまやんはまやんはまやん&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>2019-02-24 23:53:59</published>
  <title>Synthetic Kadomatsu [AtCoder Beginner Contest 119 C]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/02/24/235359</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
