<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Area1</author_name>
  <author_url>https://blog.hatena.ne.jp/Area1/</author_url>
  <blog_title>Area1のif(memo[i][j])</blog_title>
  <blog_url>https://area.hateblo.jp/</blog_url>
  <categories>
    <anon>POJ</anon>
  </categories>
  <description>問題 略 やりかた 見開きのページ番号の和はどの見開きであっても一定（ページ数以上の最小の4の倍数+1になる）になるので片一方の番号がわかれば見開きのもう片方の番号は自動的に決まる。コード上では見開き上の若番の番号から老番のページ番号を求めて、それが与えられたページ数以上になる場合には老番の位置に&quot;Blank&quot;を出力しておけばいい。ただ若番もページ数以上になる場合があるのでその時は表示しないようにする。以下ソース。 int main(int argc, char **argv){ int n; while(cin &gt;&gt; n, n){ int sheet = (n + 3) / 4; cout …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Farea.hateblo.jp%2Fentry%2F2016%2F09%2F10%2F033615&quot; title=&quot;POJ 1313 Booklet Printing - Area1のif(memo[i][j])&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-09-10 03:36:15</published>
  <title>POJ 1313 Booklet Printing</title>
  <type>rich</type>
  <url>https://area.hateblo.jp/entry/2016/09/10/033615</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
