{"provider_url":"https://hatena.blog","description":"http://codeforces.com/contest/1025/problem/BN\u500b\u306e\u6570\u306e\u30da\u30a2\u304b\u3089\u6210\u308b\u914d\u5217\u304c\u3042\u308b\u3002 \u3053\u306e\u914d\u5217\u306eWCD\u3092\u300c\u5168\u3066\u306e\u30da\u30a2\u306e\u5c11\u306a\u304f\u3068\u3082\u3069\u3061\u3089\u304b\u7247\u65b9\u306e\u7d04\u6570\u3067\u3042\u308b\u6570\u300d\u3068\u3059\u308b\u3002 WCD\u30921\u3064\u7b54\u3048\u3088\u3002 \u306a\u3051\u308c\u3070-1 \u8003\u5bdf\u904e\u7a0b 1. GCD\u3092\u3082\u3058\u3063\u3066\u3042\u308b\u3057\u3001\u30da\u30a2\u306e\u5024\u3082\u4e0a\u965010^9\u306a\u306e\u3067\u3001\u7d50\u5c40GCD\u4f7f\u3046\u3093\u3060\u308d\u3046\u3068\u3044\u3046\u4e88\u60f3 2. \u4f55\u306eGCD\u3092\u53d6\u308d\u3046\u304b\u8003\u3048\u308b\u3068\u3001A[i]*B[i]\u306eGCD\u304c\u610f\u5473\u3092\u6301\u3061\u305d\u3046 3. \u3053\u306eGCD\u304c\u7b54\u3048\u3063\u307d\u3044\u304c\u3001\u53cd\u4f8b\u304c\u3059\u3050\u306b\u51fa\u3066\u304f\u308b\uff08\u53cd\u4f8b\uff1a2,3\u30681,6\uff09 4. \u3053\u306eGCD\u304c\u6301\u3064\u610f\u5473\u3092\u8003\u3048\u3066\u307f\u308b\u3068\u3001\u3053\u306eGCD\u306e\u7d04\u6570\u306bWCD\u304c\u3042\u308b\u3053\u3068\u304c\u308f\u304b\u308b 5. \u6c42\u3081\u305f\u2026","width":"100%","blog_title":"\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093","categories":["\u7af6\u6280\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"height":"190","author_url":"https://blog.hatena.ne.jp/hamayanhamayan/","image_url":null,"type":"rich","published":"2018-08-20 19:04:47","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hamayanhamayan.com%2Fentry%2F2018%2F08%2F20%2F190447\" title=\"Weakened Common Divisor [Codeforces Round #505 B] - \u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\u306f\u307e\u3084\u3093\" 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","provider_name":"Hatena Blog","title":"Weakened Common Divisor [Codeforces Round #505 B]","blog_url":"https://blog.hamayanhamayan.com/","author_name":"hamayanhamayan","url":"https://blog.hamayanhamayan.com/entry/2018/08/20/190447"}