<?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>シミュレーション</anon>
    <anon>愚直シミュレーション</anon>
    <anon>配列</anon>
    <anon>易しい配列の問題</anon>
    <anon>NoviSteps7Q</anon>
    <anon>AtCoder</anon>
    <anon>AtCoder100点</anon>
    <anon>ABC-A</anon>
    <anon>灰色diff</anon>
    <anon>グラフ</anon>
  </categories>
  <description>「グラフ」の基礎になるような、配列上のシミュレーションの問題。 問題へのリンク 問題概要 整数 が与えられる。 このとき、ボタンを押すと、画面の数値 () が に変わる。 最初の数値が 0 であるとき、ボタンを 3 回押すと、どんな数値に変わるか？ 考えたこと まず、最初にボタンを押すと、数値 0 は a[0] に変わる。 次にボタンを押すと、数値 a[0] は、a[a[0]] に変わる。 最後にボタンを押すと、数値 a[a[0]] は、a[a[a[0]]] に変わる。 よって、a[a[a[0]]] の値を出力すればよい。 コード #include &lt;bits/stdc++.h&gt; using …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F07%2F07%2F224923&quot; title=&quot;AtCoder ABC 241 A - Digit Machine (7Q, 灰色, 100 点) - けんちょんの競プロ精進記録&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/1687765056723440</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-07-07 22:49:23</published>
  <title>AtCoder ABC 241 A - Digit Machine (7Q, 灰色, 100 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/07/07/224923</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
