<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>electric-city</author_name>
  <author_url>https://blog.hatena.ne.jp/electric-city/</author_url>
  <blog_title>山下誠二郎のITとフォートナイトと野球ブログ</blog_title>
  <blog_url>https://melheaven.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>AtCoder</anon>
  </categories>
  <description>A問題 難なくクリア str_ = input() print('Yes') if 'A' in str_ and 'B' in str_ else print('No') B問題 青球をA個、赤球をB個並べて、N個目までの青球の数を数える問題。 最初に提出したのはWAで弾かれました。 n, a, b = map(int, input().split(' ')) print(int(n%(a+b))+int((n//(a+b))*a)) 最後の周期で並んでいる青球の個数をmin(N%(A+B), A)で数えています。 n, a, b = map(int, input().split(' '))…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelheaven.hatenadiary.jp%2Fentry%2Fatcoder158&quot; title=&quot;AtCoder Beginner Contest 158 過去問 - 山下誠二郎のITとフォートナイトと野球ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/e/electric-city/20200319/20200319193051.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-27 15:53:49</published>
  <title>AtCoder Beginner Contest 158 過去問</title>
  <type>rich</type>
  <url>https://melheaven.hatenadiary.jp/entry/atcoder158</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
