<?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.522 Make Test Cases(テストケースを作る) - yukicodera,b,cの三重ループでやると間に合わないという罠がある a,bを決めればcが自動的に決まるので二重ループで書ける 似たような話は前にNo.250 atetubouのzetubou - yukicoderの問題文で見た a,b,c,n; main(){ scanf(&quot;%d&quot;,&amp;n); for(a=1;a&lt;n;a++)for(b=a;b&lt;n;b++){ c=n-a-b; if(c&gt;=b)printf(&quot;%d %d %d\n&quot;,a,b,c); } } 2つ目のループの継続条件をn-a-b&gt;=bに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2017%2F06%2F19%2F075623&quot; title=&quot;yukicoder No.522 Make Test Cases(テストケースを作る) - メモ&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>2017-06-19 07:56:23</published>
  <title>yukicoder No.522 Make Test Cases(テストケースを作る)</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2017/06/19/075623</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
