<?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>れどこだ目指すよ！　(；`・ω・）</blog_title>
  <blog_url>https://phyllo-algo.hatenadiary.org/</blog_url>
  <categories>
    <anon>とぷこだ</anon>
  </categories>
  <description>問題 上流からうなぎが流れてくる。 うなぎiは、長さがl[i]で、最初に-t[i]にいて、原点方向へ向かって流れてくる。 すべてのうなぎは1単位時間に1だけ動く。 ある時刻で、原点に来たすべてのうなぎを捕まえることができるが、2回までしかその行為を行えない。 最大で何匹捕まえられるか。1 1 考え方 ある時刻について、取ることができるすべてのうなぎのインデクスを計算する。 これは、すべてのiについて、t[i] 2つの時刻のペアについて、ユニークなインデクス数が捕まえられるうなぎの数になるので、この最大数を返せばよい。 確認する時刻は、1ごと考えるとTLEなので、注目すべき時刻を考える。 捕まえ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphyllo-algo.hatenadiary.org%2Fentry%2F20130525%2F1369505651&quot; title=&quot;SRM580 div1 250 - れどこだ目指すよ！　(；`・ω・）&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>2013-05-25 03:14:11</published>
  <title>SRM580 div1 250</title>
  <type>rich</type>
  <url>https://phyllo-algo.hatenadiary.org/entry/20130525/1369505651</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
