<?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>Codeforces</anon>
    <anon>Euler路</anon>
    <anon>グラフ</anon>
    <anon>順列を題材とした問題</anon>
    <anon>数列</anon>
    <anon>逆問題</anon>
    <anon>DFS</anon>
    <anon>CodeforcesDIV2</anon>
    <anon>CodeforcesR2500</anon>
  </categories>
  <description>面白かった 問題へのリンク 問題概要 (やや意訳) 長さ の数列 を復元したい。この数列に対し、ある並び替え順列 があって 隣り合う 2 要素の min をとってできる長さ の数列を で並び替えると となり 隣り合う 2 要素の max をとってできる長さ の数列を で並び替えると となっていた ということのみがわかっている。並び替え方もわからない。元の数列として考えられるものを 1 つ求めよ。存在しえない場合は -1 を出力せよ。 制約 考えたこと 順列系！面白そう！！ とりあえず min = p max = q となっていたら、並び替えるまえの数列は と を含むことはわかる。仮に だったと…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdrken1215.hatenablog.com%2Fentry%2F2019%2F04%2F26%2F091800&quot; title=&quot;Codeforces 554 DIV2 E. Neko and Flashback (R2500) - けんちょんの競プロ精進記録&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://chart.apis.google.com/chart?cht=tx&amp;chl=%20N</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-04-26 09:18:00</published>
  <title>Codeforces 554 DIV2 E. Neko and Flashback (R2500)</title>
  <type>rich</type>
  <url>https://drken1215.hatenablog.com/entry/2019/04/26/091800</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
