<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>moistx</author_name>
  <author_url>https://blog.hatena.ne.jp/moistx/</author_url>
  <blog_title>Logfiles</blog_title>
  <blog_url>https://logfiles.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
  </categories>
  <description>問題概要 トーナメント戦で自分とライバルが当たるのは何ラウンド目か求めよ。ライバルと当たるまでの試合は互いに全て勝つものとする。解法 自分とライバルの位置だけtrueにしたvectorを用意し、vectorの隣同士で比較し、論理和を取りながらtrue同士が衝突するまで実行する全探索。解答コード class KnockoutTourney { public: int meetRival(int N, int you, int rival) { vector&lt;bool&gt; now(N, false); you --, rival --; now[you] = now[rival] = true; i…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flogfiles.hatenablog.com%2Fentry%2F20140324%2F1395629258&quot; title=&quot;SRM 426 Div2Easy KnockoutTourney - Logfiles&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-03-24 11:47:38</published>
  <title>SRM 426 Div2Easy KnockoutTourney</title>
  <type>rich</type>
  <url>https://logfiles.hatenablog.com/entry/20140324/1395629258</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
