<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YukiMoto</author_name>
  <author_url>https://blog.hatena.ne.jp/YukiMoto/</author_url>
  <blog_title>文系プログラマーのプログラミング備忘録</blog_title>
  <blog_url>https://jpliterature.hatenablog.com/</blog_url>
  <categories>
    <anon>Codeforces</anon>
  </categories>
  <description>codeforces.com 問題 ある会社の社員数 n が与えられる。 この中から i 人選んでチームリーダーとし、残りの n-i 人の社員をそれぞれのチームリーダーに従属させる。 全てのチームリーダーが同じ人数の社員を持てるような i の選び方は何通りあるか。 考察 i 人のチームリーダーで n-i 人を均等に分けられればいいのだから、n-i を i で割り切れるかどうか試せばよいです。 n 下記のコードでは、i の上限を n/2 として探索しています（i が n-i 以上になっては n-i を i で割り切れないから）。 コード void solve (FastScanner in, P…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjpliterature.hatenablog.com%2Fentry%2Fcf-round465-div2-a-fafa-and-his-company&quot; title=&quot;Fafa and his Company [ Codeforces Round #465 (Div. 2) A ] - 文系プログラマーのプログラミング備忘録&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-10 16:31:51</published>
  <title>Fafa and his Company [ Codeforces Round #465 (Div. 2) A ]</title>
  <type>rich</type>
  <url>https://jpliterature.hatenablog.com/entry/cf-round465-div2-a-fafa-and-his-company</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
