<?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>旧ARC-C</anon>
    <anon>黄色diff</anon>
    <anon>文字列</anon>
    <anon>文字列検索問題</anon>
    <anon>Z法</anon>
    <anon>SuffixArray</anon>
    <anon>考察：一部の変数を固定して考える</anon>
    <anon>数え上げ問題</anon>
    <anon>解空間:O(N^2)通りの選択肢</anon>
    <anon>区間の交差</anon>
    <anon>NoviSteps2D</anon>
  </categories>
  <description>Z-algorithm や Suffix Array が使える面白い文字列検索問題！ 問題へのリンク 問題概要 英小文字のみからなる長さ の文字列 が与えられる。次の条件を満たす文字列 の組が何個あるかを答えよ。 はいずれも空文字ではない である 制約 考えたこと この手の問題では、何かをうまく固定して考えることが肝要だが......色々試行錯誤した末に、 ABC | AC の区切れ目全探索することにした。左から 個の文字と右側の 個の文字とに分けることにする。このとき、 の左右反転した文字列を として、 文字列 において、S[0:] と S[i:] の先頭からの文字の一致の長さを 文字列 に…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2023%2F08%2F07%2F004451&quot; title=&quot;AtCoder ARC 055 C - ABCAC (2D, 試験管黄色) - けんちょんの競プロ精進記録&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>2023-08-07 00:44:51</published>
  <title>AtCoder ARC 055 C - ABCAC (2D, 試験管黄色)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2023/08/07/004451</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
