<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hamayanhamayan</author_name>
  <author_url>https://blog.hatena.ne.jp/hamayanhamayan/</author_url>
  <blog_title>はまやんはまやんはまやん</blog_title>
  <blog_url>https://blog.hamayanhamayan.com/</blog_url>
  <categories>
    <anon>競技プログラミング</anon>
  </categories>
  <description>https://yukicoder.me/problems/no/790 解説 https://yukicoder.me/submissions/319026考えうる文字列を全探索しよう。 これは、bitを使った全探索で行う。 以下では、1を'('、0を')'として実装している。 正しいカッコ列かの判定は(なら+1, )なら-1とする典型手法があり、 これで「途中で負にならない」「最後は0」を満たすなら、正しいカッコ列となる。 注意点として、bit全探索をするが、判定部分でO(N)かかるので、普通にやると O(2^(2N)*2N)となりTLEする。 判定したいのは、1がN個立っているものだけな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2019%2F02%2F23%2F103937&quot; title=&quot;ちきんの括弧並べ [yukicoder No.790] - はまやんはまやんはまやん&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>2019-02-23 10:39:37</published>
  <title>ちきんの括弧並べ [yukicoder No.790]</title>
  <type>rich</type>
  <url>https://blog.hamayanhamayan.com/entry/2019/02/23/103937</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
