<?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.51 やる気の問題 - yukicoder実際に毎日作業していくだけ D≦10^5なのでint型だと2乗するとオーバーフローする int main(){ a,b; scanf(&quot;%d%d&quot;,&amp;a,&amp;b); for(;b&gt;1;b--)a-=a/b/b; printf(&quot;%d&quot;,a); return 0; } 処理系依存の未定義動作にまとめる a; main(b){ for(scanf(&quot;%d%d&quot;,&amp;a,&amp;b);b&gt;1;a-=a/b/b--); a=!printf(&quot;%d&quot;,a); } 69B</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F04%2F08%2F120941&quot; title=&quot;yukicoder No.51 やる気の問題 - メモ&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-04-08 12:09:41</published>
  <title>yukicoder No.51 やる気の問題</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/04/08/120941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
