<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>I_my_mine</author_name>
  <author_url>https://blog.hatena.ne.jp/I_my_mine/</author_url>
  <blog_title>あいまいまいんの生物学</blog_title>
  <blog_url>https://i-my-mine.hatenablog.com/</blog_url>
  <categories>
    <anon>ブログ</anon>
  </categories>
  <description>ABC 073 C - Write and Erase今回はmapの復習をしました。一度実装しても忘れがち… mapはキーとそれに対応する値を格納できるものなのだそうで、map&lt;&quot;キーの型&quot;,&quot;値の型&quot;&gt; 名前;という形でmapを作ることができます。型は、intとかstringとか…私が今の所使ったのは「入力された中の要素の数を数えるためのmap」。 先に、「入力に対し初見の要素ならキーを作成し、既視の要素なら値を1増やす」という関数を定義します。 void increment (map&lt;int, int&gt;&amp; m, int i) {auto itr = m.find(i); //itrはmの中…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fi-my-mine.hatenablog.com%2Fentry%2F2018%2F08%2F18%2F075555&quot; title=&quot;プログラミング mapの復習など - あいまいまいんの生物学&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>2018-08-18 07:55:55</published>
  <title>プログラミング mapの復習など</title>
  <type>rich</type>
  <url>https://i-my-mine.hatenablog.com/entry/2018/08/18/075555</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
