<?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.77 レンガのピラミッド - yukicoder{小さなピラミッド}⊂{大きなピラミッド}なので {小さなピラミッドを作るため動かさないレンガ}⊂{大きなピラミッドを作るため動かさないレンガ} となる。よって可能な限り大きなサイズのピラミッドを作れば良い 中心の高さがkであるようなピラミッドにはk^2個のレンガが必要なので 作ることができるピラミッドの最大サイズはレンガの総数の平方根となる 「動かすレンガの数」は面倒なので「動かさないレンガの数」を全体から引く int main(){ int a[210],n,m,s,i; //雑なプログラムだから配列が200までいる sc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsugarknri.hatenablog.com%2Fentry%2F2016%2F04%2F11%2F211932&quot; title=&quot;yukicoder No.77 レンガのピラミッド - メモ&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-11 21:19:32</published>
  <title>yukicoder No.77 レンガのピラミッド</title>
  <type>rich</type>
  <url>https://sugarknri.hatenablog.com/entry/2016/04/11/211932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
