<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tei3344</author_name>
  <author_url>https://blog.hatena.ne.jp/tei3344/</author_url>
  <blog_title>土下座しながら探索中</blog_title>
  <blog_url>https://ncastar.hatenablog.com/</blog_url>
  <categories>
    <anon>SRM</anon>
  </categories>
  <description>問題概要： サイズがnであるような2つの数列s,tが与えられる。 数列s,tの各要素には0からn-1まで番号がふられている。 数列sに対して以下の２つの操作を任意の回数だけ適用してtにできるか。 できるならその適用した順序を１つ出力せよ。 操作1. s[i] = s[i] + s[i-1] ( ただし i-1 操作2. s[i] = s[i] + s[i+1] ( ただし i+1 &gt;= n なら s[i+1] は s[0] )解法： 操作１と操作２の使用回数が同じ場合、その順番によって結果は変わらない。 つまり、(操作１)→(操作２)→(操作１)→(操作2)の結果得られる数列と (操作１)→(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fncastar.hatenablog.com%2Fentry%2F2017%2F04%2F18%2F224704&quot; title=&quot; SRM 712 DIV 1 easy : LR - 土下座しながら探索中&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>2017-04-18 22:47:04</published>
  <title> SRM 712 DIV 1 easy : LR</title>
  <type>rich</type>
  <url>https://ncastar.hatenablog.com/entry/2017/04/18/224704</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
