<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>toburau</author_name>
  <author_url>https://blog.hatena.ne.jp/toburau/</author_url>
  <blog_title>ゲームが作れるようになるまでがんばる日記</blog_title>
  <blog_url>https://toburau.hatenablog.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>STLのアルゴリズムの中からカウントアルゴリズムを試してみた。 size_t count(start, end, val); size_t count_if(start, end, func); count()はstartからendの中に指定した値のものの個数を返す。count_if()はfuncで指定した関数がtrueを返すものの個数を返す。 #include &lt;iostream&gt; #include &lt;vector&gt; #include &lt;algorithm&gt; using namespace std; // 10000超えてるなら真を返す関数 bool isover(int n) { retu…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20090425%2F1240670178&quot; title=&quot;カウントアルゴリズム - ゲームが作れるようになるまでがんばる日記&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-04-25 23:36:18</published>
  <title>カウントアルゴリズム</title>
  <type>rich</type>
  <url>https://toburau.hatenablog.jp/entry/20090425/1240670178</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
