<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>EmK</author_name>
  <author_url>https://blog.hatena.ne.jp/EmK/</author_url>
  <blog_title>C♯の勉強</blog_title>
  <blog_url>https://emkcsharp.hatenablog.com/</blog_url>
  <categories>
    <anon>TopCoder</anon>
    <anon>Div1</anon>
    <anon>Div1Easy</anon>
  </categories>
  <description>青赤 青緑 ←← →→ ↑ ↑ 上の図のように、左右のキューのどちらかに追加していく。このときにすでにその色が入ってないキューに入れるようにすればよい。 public class LittleElephantAndBalls { public int getNumber(string S) { var left = new HashSet(); var right = new HashSet(); int ans = 0; foreach (var c in S) { ans += left.Count() + right.Count(); if (!left.Con…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Femkcsharp.hatenablog.com%2Fentry%2FSRM592%2FLittleElephantAndBalls&quot; title=&quot;TopCoder SRM592: LittleElephantAndBalls - C♯の勉強&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>2013-10-01 22:36:44</published>
  <title>TopCoder SRM592: LittleElephantAndBalls</title>
  <type>rich</type>
  <url>https://emkcsharp.hatenablog.com/entry/SRM592/LittleElephantAndBalls</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
