{"author_url":"https://blog.hatena.ne.jp/Yoshichi/","version":"1.0","height":"190","description":"\u554f\u984c\u6982\u8981 C - \u30aa\u30bb\u30ed N\u500b\u306e\u6587\u5b57\u5217(\u521d\u671f\u50240i0i+1...0i+N)\u306b\u5bfe\u3057\u3066\u3001\u7bc4\u56f2\u3092\u6307\u5b9a\u3059\u308b\u3068\u5bfe\u8c61\u306e\u8981\u7d20\u304c1\u21d40\u3068\u53cd\u8ee2\u3059\u308b\u3002 \u7bc4\u56f2\u6307\u5b9a\u3092Q\u56de\u884c\u3063\u305f\u6642\u3001N\u306e\u6587\u5b57\u5217\u3092\u7b54\u3048\u3088\u3002 \u89e3\u6cd5 \u7bc4\u56f2\u6307\u5b9a\u306e\u7a4d\u307f\u91cd\u306d\u306e\u7d50\u679c\u3067\u8868\u88cf\u304c\u6c7a\u307e\u308b\u305f\u3081\u3001Imos\u6cd5\u3067\u89e3\u3051\u308b\u3002 \u63d0\u51fa\u30b3\u30fc\u30c9 n, q = map(int, input().split()) a = [0 for i in range(n + 2)] for i in range(q): x, y = map(int, input().split()) a[x] += 1 a[y + 1] -= 1 for i in range(n + 1): if i ==\u2026","published":"2019-05-04 02:36:39","width":"100%","type":"rich","blog_url":"https://yoshichi9.hatenablog.com/","url":"https://yoshichi9.hatenablog.com/entry/2019/05/04/023639","categories":[],"image_url":null,"provider_name":"Hatena Blog","provider_url":"https://hatena.blog","blog_title":"Yoshichi\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshichi9.hatenablog.com%2Fentry%2F2019%2F05%2F04%2F023639\" title=\" ABC 035C - \u30aa\u30bb\u30ed - Yoshichi\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Yoshichi","title":" ABC 035C - \u30aa\u30bb\u30ed"}