<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>quasistatic</author_name>
  <author_url>https://blog.hatena.ne.jp/quasistatic/</author_url>
  <blog_title>借りてきた猫のように静か</blog_title>
  <blog_url>https://quasistatic.hatenadiary.jp/</blog_url>
  <categories>
    <anon>C</anon>
  </categories>
  <description>この問題では特にコストが高いわけではないと思うが、 呼び出すたびにstrlenで履歴文字列の長さを求めるのはちょっとという向きには、 新たに履歴に文字を追加する時の場所を履歴とともに渡すことでstrlenを消せる。 en7.c #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;string.h&gt; typedef struct { char *h; size_t tail; } hist_t; static void enumerate0(hist_t *h, unsigned int a, unsigned int b) { if (a == 0…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fquasistatic.hatenadiary.jp%2Fentry%2F20140524%2Fp2&quot; title=&quot; ある記号列の列挙 #7 - 借りてきた猫のように静か&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>2014-05-24 00:00:01</published>
  <title> ある記号列の列挙 #7</title>
  <type>rich</type>
  <url>https://quasistatic.hatenadiary.jp/entry/20140524/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
