<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>phyllo_algo</author_name>
  <author_url>https://blog.hatena.ne.jp/phyllo_algo/</author_url>
  <blog_title>phyllo’s algorithm note</blog_title>
  <blog_url>https://phyllo-algo.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題 数直線上に、スライムがN匹いて、i番目のスライムは、時刻0で、座標x_i、速さv_i(正の方向)でいる。この数直線上で、同じ座標になる場合は、「衝突」し、以下のようになる。 番号が小さいスライムがその他のスライムをすべて吸収し、吸収されたスライムは消滅 吸収したスライムは、自分自身の速さ＋吸収したスライム速さの和、の速度になる ここで、すべてのスライムについて、時刻0から時刻tまでに走った距離の合計をf(t)とする。吸収され消滅したスライムはその時点で走るのを終了したとみなす。f(T) &gt;= Dとなる最小の整数Tを求めよ。 制約 1 1 1 i 解法 シミュレーションや二分探索では難しい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenablog.com%2Fentry%2F2020%2F08%2F01%2F154336&quot; title=&quot;yukicoder No.1139 Slime Race - phyllo’s algorithm note&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>2020-08-01 15:43:36</published>
  <title>yukicoder No.1139 Slime Race</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenablog.com/entry/2020/08/01/154336</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
