{"categories":["AtCoder"],"published":"2016-07-17 12:09:29","description":"\u5929\u624d\u304b\u2026 \u554f\u984c agc001.contest.atcoder.jp \u89e3\u6cd5 \u666e\u901a\u306b\u8a08\u7b97\u3057\u3088\u3046\u3068\u3059\u308b\u3068, (Ai + Aj + Bi + Bj)! / (Ai+Aj)! / (Bi+Bj)!\u3092\u5404 i, j \u306b\u3064\u3044\u3066\u6c42\u3081\u3066\u305d\u306e\u548c\u3092\u8a08\u7b97\u3059\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u304c, \u3053\u308c\u3060\u3068\u9593\u306b\u5408\u3044\u307e\u305b\u3093\u3002\u305d\u3053\u3067, \u4e0a\u306e\u5f0f\u3092\u3088\u304f\u898b\u308b\u3068, \u3053\u308c\u306f (0, 0) \u304b\u3089 (Ai+Aj, Bi+Bj) \u3078\u5411\u304b\u3046\u7d4c\u8def\u306e\u5834\u5408\u306e\u6570\u306b\u306a\u3063\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u4ed8\u304d\u307e\u3059\u3002\u5bfe\u79f0\u6027\u7684\u306a\u3082\u306e\u3092\u610f\u8b58\u3059\u308b\u3068, (-Aj, -Bj) \u304b\u3089 (Ai, Bi) \u306b\u5411\u304b\u3046\u5834\u5408\u306e\u6570\u306b\u3082\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u3046\u8003\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3068\u52dd\u3061\u3067, \u30b9\u30bf\u30fc\u30c8\u5730\u70b9\u3092 (-A1, -B1)\u2026","height":"190","type":"rich","blog_title":"mayoko\u2019s diary","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmayokoex.hatenablog.com%2Fentry%2F2016%2F07%2F17%2F120929\" title=\"AtCoder Grand Contest 001 E - BBQ Hard - mayoko\u2019s diary\" 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":"mayokoex","provider_url":"https://hatena.blog","image_url":null,"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/mayokoex/","url":"https://mayokoex.hatenablog.com/entry/2016/07/17/120929","title":"AtCoder Grand Contest 001 E - BBQ Hard","width":"100%","blog_url":"https://mayokoex.hatenablog.com/","version":"1.0"}