{"version":"1.0","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffushime2.hatenablog.com%2Fentry%2F2016%2F01%2F21%2F153641\" title=\"SRM 679 Div2 Easy: ListeningSongs - idle\u6d3b\u52d5\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"SRM 679 Div2 Easy: ListeningSongs","width":"100%","url":"https://fushime2.hatenablog.com/entry/2016/01/21/153641","blog_url":"https://fushime2.hatenablog.com/","blog_title":"idle\u6d3b\u52d5","height":"190","author_url":"https://blog.hatena.ne.jp/fushime2/","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"published":"2016-01-21 15:36:41","author_name":"fushime2","description":"\u554f\u984c TopCoder Statistics - Problem Statement 2 \u3064\u306e\u97f3\u697d\u30a2\u30eb\u30d0\u30e0 A, B \u306b\u3064\u3044\u3066\u3001\u66f2\u306e\u9577\u3055(d1, d2)\u304c\u4e0e\u3048\u3089\u308c\u308b(\u79d2)\u3002 \u66f2\u306e\u9577\u3055\u306e\u5408\u8a08\u304c\u4e0a\u9650 minutes \u3092\u8d85\u3048\u306a\u3044\u3088\u3046\u306b\u5404\u30a2\u30eb\u30d0\u30e0\u304b\u3089\u66f2\u3092\u9078\u3076\u3068\u304d\u3001\u9078\u3079\u308b\u66f2\u6570\u306e\u6700\u5927\u5024\u3092\u8fd4\u3059\u3002 \u305f\u3060\u3057\u3001\u5404\u30a2\u30eb\u30d0\u30e0\u304b\u3089\u305d\u308c\u305e\u308c\u6700\u4f4e T \u66f2\u9078\u3070\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044(A \u304b\u3089 T \u66f2, B \u304b\u3089 T \u66f2)\u3002\u3053\u306e\u3088\u3046\u306a\u9078\u3073\u65b9\u304c\u306a\u3044\u5834\u5408\u306f -1 \u3092\u8fd4\u3059\u3002 \u89e3\u6cd5 \u7d50\u679c\u304c -1 \u306e\u6642\u306e\u6761\u4ef6\u306b\u6ce8\u610f\u3057\u3066\u305d\u306e\u307e\u307e\u66f8\u304f\u3002d1, d2 \u3092\u30bd\u30fc\u30c8\u3057\u3066\u5148\u982d\u304b\u3089 T \u500b\u8db3\u3057\u305f\u3042\u3068\u3001\u65b0\u3057\u3044\u914d\u5217\u306b\u8db3\u3057\u3066\u306a\u3044\u8981\u7d20\u3092\u7a81\u3063\u8fbc\u3093\u3067\u30bd\u30fc\u30c8\u3001\u5148\u982d\u304b\u3089\u4e0a\u9650\u2026","provider_url":"https://hatena.blog","image_url":null}