<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>NoviSteps7Q</anon>
    <anon>灰色diff</anon>
    <anon>AtCoder</anon>
    <anon>AtCoder100点</anon>
    <anon>ABC-A</anon>
    <anon>現実世界の題材を扱った問題</anon>
    <anon>最小コスト</anon>
    <anon>最適化問題</anon>
  </categories>
  <description>現実世界っぽい題材を扱ったちょっと楽しい問題。 問題へのリンク 問題概要 チーム A とチーム B が野球対戦をし、9 回表まで終了していて、 (チーム A の得点) ≧ (チーム B の得点) となっている。チーム B が 9 回裏で勝利するのに必要な最小追加点を求めよ。 解法 (9 回までの A の得点) - (8 回までの B の得点) + 1 と計算すればよい。 #include &lt;bits/stdc++.h&gt; using namespace std; int main() { int sum_a = 0, sum_b = 0; for (int i = 0; i &lt; 9; ++i) …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F05%2F21%2F234125&quot; title=&quot;AtCoder ABC 351 A - The bottom of the ninth (7Q, 灰色, 100 点) - けんちょんの競プロ精進記録&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.user.blog.st-hatena.com/default_entry_og_image/80936665/1687765056723440</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-05-21 23:41:25</published>
  <title>AtCoder ABC 351 A - The bottom of the ninth (7Q, 灰色, 100 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/05/21/234125</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
