<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jeneshicc</author_name>
  <author_url>https://blog.hatena.ne.jp/jeneshicc/</author_url>
  <blog_title>落書き、時々落学</blog_title>
  <blog_url>https://jeneshicc.hatenadiary.org/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>Haskell</anon>
    <anon>C++</anon>
    <anon>Memo</anon>
  </categories>
  <description>練習のためやってみた． Bは問題文が長いので，まだ読んでいない．（前回と同じテンプレート使用） A 各baseに対するhappy数達を,無限リストとして，計算しておいて，最後にintersectionをとる． という，作戦だが，どうも遅い．メモリを沢山使う． やはり，これは配列つかって解く問題なのか？ main = do (n:_) &lt;- getList forM_ [1..n] $ \i -&gt; do bs &lt;- getList putStrLn.output i $ allHappy bs expand :: (Integral a) =&gt; a -&gt; a -&gt; [a] expand b = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjeneshicc.hatenadiary.org%2Fentry%2F20090914%2F1252943600&quot; title=&quot;Round 1A (Google Code Jam 2009) - 落書き、時々落学&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>2009-09-14 00:53:20</published>
  <title>Round 1A (Google Code Jam 2009)</title>
  <type>rich</type>
  <url>https://jeneshicc.hatenadiary.org/entry/20090914/1252943600</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
