{"published":"2019-03-05 09:33:43","blog_url":"https://perogram.hateblo.jp/","type":"rich","title":"\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u3067\u5b66\u3076\u3001B - Removing Blocks","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fperogram.hateblo.jp%2Fentry%2Fagc028_b\" title=\"\u30b9\u30c6\u30c3\u30d7\u30d0\u30a4\u30b9\u30c6\u30c3\u30d7\u3067\u5b66\u3076\u3001B - Removing Blocks - perogram\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"perogram","author_url":"https://blog.hatena.ne.jp/peroon/","width":"100%","height":"190","author_name":"peroon","url":"https://perogram.hateblo.jp/entry/agc028_b","version":"1.0","categories":[],"image_url":null,"provider_name":"Hatena Blog","description":"Quiz https://atcoder.jp/contests/agc028/tasks/agc028_b N\u304c\u5c0f\u3055\u3044\u5834\u5408 \u89e3\u8aac\u653e\u9001\u306e\u901a\u308a\u671f\u5f85\u5024\u3092\u8003\u3048\u308b\u3002\u6700\u521d\u306fdouble\u3092\u4f7f\u3063\u3066\u78ba\u7387\u3092\u5b9a\u7fa9\u901a\u308a\u306b\u6c42\u3081\u3066\u307f\u308b \u30b5\u30f3\u30d7\u30eb\u30c6\u30b9\u30c8\u30b1\u30fc\u30b9\u306f\u5168\u3066\u901a\u308b\u3002\u63d0\u51fa\u3059\u308b\u3068\u5f53\u7136TLE https://atcoder.jp/contests/agc028/submissions/4473963 WA\u306a\u3057 vector<ll> A(N); FOR(i, 0, N){ cin >> A.at(i); } double expectation = 0; FOR(i, 0, N){ // a_i \u304c\u51fa\u73fe\u3059\u308b\u56de\u6570\u306e\u671f\u5f85\u5024 do\u2026"}