<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kankinkon</author_name>
  <author_url>https://blog.hatena.ne.jp/kankinkon/</author_url>
  <blog_title>Afro-Blue</blog_title>
  <blog_url>https://kankinkon.hatenadiary.org/</blog_url>
  <categories>
    <anon>アルゴリズムとデータ構造</anon>
  </categories>
  <description>プログラム4.12 添字要素を格納し重複を許さないスタック 全ての要素が0〜maxN-1までの整数であることを仮定している。配列tにその要素が格納されている場合1、されていない場合0として管理することでpush時にその要素が存在するかどうか素早くテストすることができる。 #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &quot;Item.h&quot; static int *s, *t; static int N; void STACKinit(int maxN) { int i; s = malloc(maxN*sizeof(int)); t = malloc…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkankinkon.hatenadiary.org%2Fentry%2F20120114%2F1326518382&quot; title=&quot;重複なしのスタック - Afro-Blue&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-01-14 14:19:42</published>
  <title>重複なしのスタック</title>
  <type>rich</type>
  <url>https://kankinkon.hatenadiary.org/entry/20120114/1326518382</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
