{"height":"190","author_name":"Yoshichi","image_url":null,"provider_url":"https://hatena.blog","blog_title":"Yoshichi\u306e\u65e5\u8a18","version":"1.0","url":"https://yoshichi9.hatenablog.com/entry/2019/04/30/041628","published":"2019-04-30 04:16:28","description":"\u554f\u984c\u6982\u8981 D - Flipping SignsN\u500b\u306e\u6570\u5217A\u306b\u5bfe\u3057\u3066\u3001\u4efb\u610f(i \u6570\u5217B\u3092\u4f5c\u6210\u3059\u308b\u3002\u4f5c\u6210\u3057\u305fsum(\u6570\u5217B)\u304c\u6700\u5927\u3068\u306a\u308b\u5024\u3092\u7b54\u3048\u3088\u3002 \u89e3\u6cd5(\u89e3\u8aacAC) \u6b63\u8ca0\u5224\u5b9a\u3092\u884c\u3044\u3001\u8ca0\u306e\u5024\u304c\u5076\u6570\u500b\u306e\u5834\u5408\u5168\u3066\u6b63\u306e\u5024\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002 \u8ca0\u306e\u6570\u304c\u5947\u6570\u500b\u306e\u5834\u5408\u3001\u4efb\u610f\u306e\u5024\u30921\u3064\u3060\u3051\u8ca0\u306e\u5024\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3002 \u306a\u306e\u3067\u3001\u8ca0\u306e\u5024\u304c\u5076\u6570\u500b\u306e\u5834\u5408\u3001\u3059\u3079\u3066\u306e\u5024\u3092\u6b63\u306b\u3057\u305f\u72b6\u614b\u3067sum(B)\u3002 \u8ca0\u306e\u5024\u304c\u5947\u6570\u500b\u306e\u5834\u5408\u3001abs(A)\u306e\u4e2d\u3067\u6700\u3082\u5c0f\u3055\u3044\u5024\u3092\u8ca0\u306e\u5024\u306b\u3057\u3066sum(B)\u3092\u53d6\u308c\u3070\u3088\u3044\u3002 \u63d0\u51fa\u30b3\u30fc\u30c9 n = int(input()) a = list(map(int, input().split())) count = 0 \u2026","blog_url":"https://yoshichi9.hatenablog.com/","width":"100%","type":"rich","categories":["Atcoder","\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5fa9\u7fd2\u7528"],"author_url":"https://blog.hatena.ne.jp/Yoshichi/","title":" ABC 125 D - Flipping Signs","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshichi9.hatenablog.com%2Fentry%2F2019%2F04%2F30%2F041628\" title=\" ABC 125 D - Flipping Signs - 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>"}