<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mayokoex</author_name>
  <author_url>https://blog.hatena.ne.jp/mayokoex/</author_url>
  <blog_title>mayoko’s diary</blog_title>
  <blog_url>https://mayokoex.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題 abc032.contest.atcoder.jp 解法 まず, s[i] のいずれかが 0 だったらすべての値を掛け算した結果は 0 になるので, 答えは N です。 そうでない場合に K = 0 だったら, s[i] &gt; K が任意の i で成り立つので, 答えは 0 です。 それ以外の場合は, しゃくとりっぽく出来ます。左端の数 l を決めると, 右端 r がどこまで伸びるかが決まります。その後左端を一つ右からスタートすることにすると, ([l, r] の区間の掛け算 &gt;= [l+1, r] の区間の掛け算) なので, l+1 番目からスタートするときは, 右端の数は r から始め…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F01%2F09%2F230000_1&quot; title=&quot;AtCoder Beginner Contest 032 C - 列 - mayoko’s diary&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>2016-01-09 23:00:00</published>
  <title>AtCoder Beginner Contest 032 C - 列</title>
  <type>rich</type>
  <url>https://mayokoex.hatenablog.com/entry/2016/01/09/230000_1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
