<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>drken1215</author_name>
  <author_url>https://blog.hatena.ne.jp/drken1215/</author_url>
  <blog_title>けんちょんの競プロ精進記録</blog_title>
  <blog_url>https://drken1215.hatenablog.com/</blog_url>
  <categories>
    <anon>AtCoder</anon>
    <anon>AtCoder300点</anon>
    <anon>ABC-C</anon>
    <anon>灰色diff</anon>
    <anon>NoviSteps4Q</anon>
    <anon>setやmap:検索や削除が速いこと</anon>
    <anon>計算量改善：setやmapの活用</anon>
    <anon>連想配列(setやmap)</anon>
    <anon>サイクル</anon>
    <anon>サイクル検出</anon>
    <anon>二次元グリッド</anon>
    <anon>二次元グリッド：上下左右のマスへのアクセス</anon>
    <anon>操作列が文字列で与えられる</anon>
    <anon>Yes/No判定問題</anon>
  </categories>
  <description>set の練習！ 問題へのリンク 問題概要 二次元平面上に高橋君がいる。高橋君は原点から移動を 回行った。 回の移動は長さ の文字列で表される。各文字は L（左へ移動）、R（右へ移動）、U（上へ移動）、D（下へ移動）のいずれかである。 高橋君が同じ座標にいたことがあるかどうかを判定せよ。 制約 考えたこと 高橋君の移動は 2 つの整数値 によって管理できる。初期状態では高橋君は原点にいるため である。高橋君の移動過程で、次のデータを管理しよう。 set&lt;pair&lt;int,int&gt;&gt; 型変数 already：高橋君がすでに訪れた座標を格納する集合 これを用いて、高橋君が新たに訪れた座標が「すでに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F11%2F08%2F015741&quot; title=&quot;AtCoder ABC 291 C - LRUD Instructions 2 (4Q, 灰色, 300 点) - けんちょんの競プロ精進記録&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/80936665/1730992592391452</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-11-08 01:57:41</published>
  <title>AtCoder ABC 291 C - LRUD Instructions 2 (4Q, 灰色, 300 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/11/08/015741</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
