<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>amifiable</author_name>
  <author_url>https://blog.hatena.ne.jp/amifiable/</author_url>
  <blog_title>あるエンジニアのAtCoder奮闘記</blog_title>
  <blog_url>https://ami-atcoder.hatenablog.com/</blog_url>
  <categories>
    <anon>競プロ</anon>
    <anon>AtCoder</anon>
    <anon>AGC035</anon>
    <anon>A問題</anon>
    <anon>300点</anon>
    <anon>Rust</anon>
  </categories>
  <description>irisruneです。一応Rust第2回です。 問題 atcoder.jp 300点問題ですが、正攻法で解こうとすると考慮すべきケースを整理したり実装がやや面倒だったりと厄介な問題です。 use std::collections::HashMap; fn main() { input!{ n: usize, la: [usize; n] } let mut map: HashMap&lt;usize, usize&gt; = HashMap::new(); for a in la { let value = map.entry(a).or_insert(0); *value += 1; } if map.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fami-atcoder.hatenablog.com%2Fentry%2F20190719%2F1563520328&quot; title=&quot;AtCoder AGC 035 A - XOR Circle ※正攻法 (Rust) - あるエンジニアのAtCoder奮闘記&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>https://cdn.user.blog.st-hatena.com/default_entry_og_image/154149487/1553670776372553</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-07-19 16:12:08</published>
  <title>AtCoder AGC 035 A - XOR Circle ※正攻法 (Rust)</title>
  <type>rich</type>
  <url>https://ami-atcoder.hatenablog.com/entry/20190719/1563520328</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
