{"height":"190","author_url":"https://blog.hatena.ne.jp/enakai00/","version":"1.0","width":"100%","title":"074 - ABC String 2\uff08\u26056\uff09\u306e\u89e3\u8aac","type":"rich","published":"2021-09-11 15:10:54","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fenakai00.hatenablog.com%2Fentry%2F2021%2F09%2F11%2F151054\" title=\"074 - ABC String 2\uff08\u26056\uff09\u306e\u89e3\u8aac - \u3081\u3082\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3081\u3082\u3081\u3082","categories":[],"image_url":null,"description":"\u4f55\u306e\u8a71\u304b\u3068\u3044\u3046\u3068 atcoder.jp\u4e0a\u8a18\u306e\u554f\u984c\u306f\u3001\u516c\u5f0f\u89e3\u8aac\u306b\u3082\u3042\u308b\u3088\u3046\u306b\u3001\u5177\u4f53\u4f8b\u3092\u8a66\u3057\u306a\u304c\u3089\u96a0\u3055\u308c\u305f\u898f\u5247\u6027\u3092\u767a\u898b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u3069\u306e\u3088\u3046\u306a\u8a66\u884c\u932f\u8aa4\u3067\u3001\u6b63\u89e3\u306b\u81f3\u308c\u308b\u306e\u304b\u3001\u4e00\u4f8b\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u307e\u305a\u306f\u3057\u3089\u307f\u3064\u3076\u3057 \u307e\u305a\u306f\u3001\u3057\u3089\u307f\u3064\u3076\u3057\u3067\u3001\u6587\u5b57\u5217\u304c\u5909\u5316\u3059\u308b\u69d8\u5b50\u3092\u89b3\u5bdf\u3057\u307e\u3059\u3002\u30ad\u30e5\u30fc\u3092\u7528\u3044\u305f\u5168\u4ef6\u63a2\u7d22\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002 import sys, copy from collections import defaultdict, deque def main(f): N = int(f.readline()) S = f.readline().strip() q = deque() q.append((0, \u2026","provider_url":"https://hatena.blog","blog_url":"https://enakai00.hatenablog.com/","author_name":"enakai00","url":"https://enakai00.hatenablog.com/entry/2021/09/11/151054"}