<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiwawa_star</author_name>
  <author_url>https://blog.hatena.ne.jp/chiwawa_star/</author_url>
  <blog_title>C++競プロ学習日記(仮)</blog_title>
  <blog_url>https://chiwawa-star.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>A - Security を解きました。 std::adjacent_find std::adjacent_find は隣接する要素で条件を満たしている最初の要素を検索してくれます *1[first,last) 内にあるイテレータ i について、*i == *(i + 1) となる要素を見つけた場合、 最初のイテレータを返します。 見つからなかった場合は last を返します。これを利用して、隣接する要素が同じ値かどうかを判定しました。 std::adjacent_find は便利 #include &lt;bits/stdc++.h&gt; using namespace std; #define AL…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchiwawa-star.hatenablog.com%2Fentry%2F2019%2F09%2F23%2F012026&quot; title=&quot;ABC131 A - Security｜std:: adjacent_find｜C++ - C++競プロ学習日記(仮)&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>2019-09-23 01:20:26</published>
  <title>ABC131 A - Security｜std:: adjacent_find｜C++</title>
  <type>rich</type>
  <url>https://chiwawa-star.hatenablog.com/entry/2019/09/23/012026</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
