<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sndr</author_name>
  <author_url>https://blog.hatena.ne.jp/sndr/</author_url>
  <blog_title>sndrのブログ</blog_title>
  <blog_url>https://sndr.hatenadiary.org/</blog_url>
  <categories>
    <anon>POJ</anon>
    <anon>数学</anon>
    <anon>文字列</anon>
  </categories>
  <description>問題 http://poj.org/problem?id=1989 (翻訳)K種類の整数N個からなる整数列が与えられるので、その部分列とならない整数列のうち最短のものの長さを答えろ。 解法 整数列の先頭から、K種類の整数が一通り出るところまで進み、さらにその場所からまたK種類の整数が出そろうところまで進み...を繰り返していき、繰り返した数+1が答え。適当な証明 上のアルゴリズムをn回繰り返したとする。 入力の整数列を繰り返しによって進んだところで切って、整数列の集合{s1, s2, ... ,sn}が出来る。(全てのsはそれぞれK種類の整数を全て含んでいる)まず、長さn以下の任意の整数列が{…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsndr.hatenadiary.org%2Fentry%2F20130406%2F1365227226&quot; title=&quot;POJ 1989 The Cow Lineup - sndrのブログ&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>2013-04-06 14:47:06</published>
  <title>POJ 1989 The Cow Lineup</title>
  <type>rich</type>
  <url>https://sndr.hatenadiary.org/entry/20130406/1365227226</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
