<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xef</author_name>
  <author_url>https://blog.hatena.ne.jp/xef/</author_url>
  <blog_title>Soleil cou coupe</blog_title>
  <blog_url>https://xef.hatenadiary.org/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Let's take tea break | Code Puzzle 任天堂のクイズのやつ。 first_code.py if pow(m, 17) % 3569 == 915: return str(m) となる自然数 m を探す問題。range(10000)ぐらいまでとって総当たりすればよい。数学的に解けるかも？ second_code.py あるルールに則って、与えられた文字列を変換するSimpleBarsというクラスを実装する。SimpleBarsはnext()というメソッドによって変換を行う。 この問題にはヒントが存在する。見ると実装のコツやテストコードをもらえる。下のコードはヒント…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxef.hatenadiary.org%2Fentry%2F20120916%2Fp1&quot; title=&quot;Let&amp;#39;s take tea break | Code Puzzle解題 - Soleil cou coupe&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>2012-09-16 00:00:00</published>
  <title>Let's take tea break | Code Puzzle解題</title>
  <type>rich</type>
  <url>https://xef.hatenadiary.org/entry/20120916/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
