{"image_url":null,"author_name":"a_kawashiro","width":"100%","blog_title":"a_kawashiro\u306e\u30d6\u30ed\u30b0","description":"\u307e\u305a\u30bd\u30fc\u30c8\u3057\u30661\u756a\u7968\u3092\u3082\u3089\u3046\u4eba\u3092\u3082\u3068\u3081\u308b\u3002\uff08\u30bd\u30fc\u30b9\u3067\u306fNmost\u4eba\u3068\u3057\u3066\u3044\u308b) \u305d\u308c\u304b\u3089\"vulnerable\"\u306a\u4eba\u306e\u4eba\u6570\u304c\u4e00\u4eba\u306b\u306a\u308b\u304b\u5909\u308f\u3089\u306a\u304f\u306a\u308b\u307e\u3067 \u30b7\u30e5\u30df\u30ec\u30fc\u30b7\u30e7\u30f3\u3059\u308b\u3002 #include <algorithm> #include <vector> using namespace std; class MafiaGame { public: double probabilityToLose(int N, vector<int> decisions) { vector<int> v(N,0); for(int i=0;i<(int)decisions.size();i++) v[deci\u2026","blog_url":"https://a-kawashiro.hatenablog.com/","title":"SRM500 div1 easy","categories":["topcoder"],"published":"2011-03-19 03:11:58","provider_name":"Hatena Blog","provider_url":"https://hatena.blog","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fa-kawashiro.hatenablog.com%2Fentry%2F20110319%2F1300558318\" title=\"SRM500 div1 easy - a_kawashiro\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/a_kawashiro/","url":"https://a-kawashiro.hatenablog.com/entry/20110319/1300558318"}