<?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>AtCoder100点</anon>
    <anon>ABC-A</anon>
    <anon>灰色diff</anon>
    <anon>文字列</anon>
    <anon>文字列操作:indexアクセス</anon>
    <anon>易しい文字列の問題</anon>
  </categories>
  <description>文字列の扱いに慣れよう！ 問題へのリンク 問題概要 の形に並べられた文字盤が与えられる。この文字盤の対角線上の文字を並べて得られる 3 文字の文字列を答えよ。 解法 入力を 3 つの文字列としてうけとり、それぞれの 0 文字目、1 文字目、2 文字目を答えるのが楽だと思う。 #include &lt;bits/stdc++.h&gt; using namespace std; int main() { string A, B, C; cin &gt;&gt; A &gt;&gt; B &gt;&gt; C; cout &lt;&lt; A[0] &lt;&lt; B[1] &lt;&lt; C[2] &lt;&lt; endl; }</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2024%2F01%2F06%2F081149&quot; title=&quot;AtCoder ABC 090 A - Diagonal String (灰色, 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-01-06 08:11:49</published>
  <title>AtCoder ABC 090 A - Diagonal String (灰色, 100 点)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2024/01/06/081149</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
