<?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://yukicoder.me/problems/no/915 解説 https://yukicoder.me/submissions/393231 よーく見ると、C進数っぽく見える。 なので、C進数っぽく考えて最小コストを作ろう。 と思ったら合わない！ 最後の12 2 3は(2 + 2) * 3の3手が最短。 ★2だしなぁと思って方針を探すと、Cの倍数じゃないなら、Cの倍数になるよう減らして、 Cで割るのを繰り返す。 (C-1)*2あたりがコーナーケースになりそう。 これ以下になっていれば2回か。 C = 1がコーナーケース。クッキーを作れないので-1 int A, B, C; /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F10%2F26%2F102515_1&quot; title=&quot;Plus Or Multiple Operation [yukicoder 915] - はまやんはまやんはまやん&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-10-26 10:25:15</published>
  <title>Plus Or Multiple Operation [yukicoder 915]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/10/26/102515_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
