<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baitop</author_name>
  <author_url>https://blog.hatena.ne.jp/baitop/</author_url>
  <blog_title>バイトの競プロメモ</blog_title>
  <blog_url>https://baitop.hatenadiary.jp/</blog_url>
  <categories>
    <anon>値、回数、範囲を定めたら結果が一意に定まるので、全パターン定めたい問題</anon>
    <anon>探索範囲を削る</anon>
  </categories>
  <description>B - Moderate DifferencesNこのマスがあり、左端にAが、右端にBが書かれている 隣接する全てのマスで、整数の差がC以上D以下に出来るか判定せよ3 A 10^9 B 10 ^9 0 自分の解法一マスごとに足した場合の区間と引いた場合の二通りの区間があるため、答えに近い方を選択する。想定解足し引きの順番は関係なく、それらの回数により、結果が一意に定まるため、全探索。類題 B - Colorful Slimes public static void main(String[] args) { N = sc.nextInt(); A = sc.nextInt(); B = sc.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaitop.hatenadiary.jp%2Fentry%2F2018%2F06%2F29%2F223313&quot; title=&quot;AGC 017 B - Moderate Differences - バイトの競プロメモ&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>2018-06-29 22:33:13</published>
  <title>AGC 017 B - Moderate Differences</title>
  <type>rich</type>
  <url>https://baitop.hatenadiary.jp/entry/2018/06/29/223313</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
