<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>baitop</author_name>
  <author_url>https://blog.hatena.ne.jp/baitop/</author_url>
  <blog_title>バイトの競プロメモ</blog_title>
  <blog_url>https://baitop.hatenadiary.jp/</blog_url>
  <categories>
  </categories>
  <description>C - Ants on a Circle 解法 蟻なのでぶつかる際にすれ違う事にして、番号を交換すればよさそう 最終的な位置集合は分かり、かつ 1&lt; 2 &lt;3 ...なので、一匹でも答えがわかれば解ける 位置は1&lt; 2 &lt;3で常に一定なので、 交換する番号は自分-1である よって最終的な番号は自分-すれ違った回数 全てのiについてすれ違う回数を求めればいい Submission #4562270 - AtCoder Grand Contest 013 void solve() { int l, t; cin &gt;&gt; n &gt;&gt; l &gt;&gt; t; vi d; na2(a, d, n); rep(i, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaitop.hatenadiary.jp%2Fentry%2F2019%2F03%2F13%2F000449&quot; title=&quot;C - Ants on a Circle - バイトの競プロメモ&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-03-13 00:04:49</published>
  <title>C - Ants on a Circle</title>
  <type>rich</type>
  <url>https://baitop.hatenadiary.jp/entry/2019/03/13/000449</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
