<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sugarknri</author_name>
  <author_url>https://blog.hatena.ne.jp/sugarknri/</author_url>
  <blog_title>メモ</blog_title>
  <blog_url>https://sugarknri.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>問題はこちら No.103 素因数ゲーム リターンズ - yukicoderこのゲームが本質的には山崩し(Nim)と同じであることはyukicoder No.2 素因数ゲーム - メモで説明した 前回との違いは、割れる回数が2回までになっていることのみ よって（N言っちゃだめゲームと同様に考えて）各山はmod3で値を見れば良いことが分かる（厳密には、これが各山のgrundy数になっていることから分かる）ということで前回のコードを流用して int main(){ int s,t,n,m,i; scanf(&quot;%d&quot;,&amp;n); s=0; while(n--){ scanf(&quot;%d&quot;,&amp;m); for…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F05%2F31%2F183922&quot; title=&quot;yukicoder No.103 素因数ゲーム リターンズ - メモ&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>2016-05-31 18:39:22</published>
  <title>yukicoder No.103 素因数ゲーム リターンズ</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/05/31/183922</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
