<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yambe2002</author_name>
  <author_url>https://blog.hatena.ne.jp/yambe2002/</author_url>
  <blog_title>yambe2002’s diary</blog_title>
  <blog_url>https://yambe2002.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>143位/8136人で目標の2桁順位は達成できず。回答人数の多いCSUBQで部分点だったのが痛かった。以下、易問は省略する。 Periodic Palindrome Construction 長さNの文字列Sについて、Nが整数Pの倍数であり、かつSをPごとに分割したときすべてのP[i]が一致しているものを、周期がPである、と定義する。NとPが与えられたとき、文字aとbのみを使って、周期がPかつ全体で回文になる、長さNの文字列を作れ。ただし、文字列にはaとbの両方を使う必要がある。 1 UnionFindを使う。最終的な文字列をSとすると、全体で回文なので、 S[0] = S[len-1] S[…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyambe2002.hatenablog.com%2Fentry%2F2017%2F11%2F22%2F045332&quot; title=&quot;Codechef November Challenge 2017 参加日記 - yambe2002’s diary&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>2017-11-22 04:53:32</published>
  <title>Codechef November Challenge 2017 参加日記</title>
  <type>rich</type>
  <url>https://yambe2002.hatenablog.com/entry/2017/11/22/045332</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
