<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>blue_jam</author_name>
  <author_url>https://blog.hatena.ne.jp/blue_jam/</author_url>
  <blog_title>blue_jamの日記</blog_title>
  <blog_url>https://blue-jam.hatenablog.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>概要 洗濯物がn個あって，自然乾燥だと1分間に洗濯物の水が1だけ減る．暖房機を使えば，1分間にkだけの水を減らすことができるが，これは1分間に1つの洗濯物についてだけしか使えない． 暖房機を最適に使った時，すべての洗濯物を乾かすのに必要な最小の時間はいくつか． 解法 洗濯物を乾かすために必要な時間を仮定して二分探索．「暖房機を使えば1分間にkだけ水を減らすことができる＝自然乾燥に比べて1分間あたりk-1多く水を減らすことができる」に注意して，二分探索の判定を行う． 洗濯物iの水分量をa_iとする．時間tだけかけて洗濯物の乾燥が終わるかどうかの判定は，水分量がtより多い洗濯物iに対しceil(a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblue-jam.hatenablog.com%2Fentry%2F2014%2F08%2F15%2F230002&quot; title=&quot;POJ 3104: Drying - blue_jamの日記&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>2014-08-15 23:00:02</published>
  <title>POJ 3104: Drying</title>
  <type>rich</type>
  <url>https://blue-jam.hatenablog.com/entry/2014/08/15/230002</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
