{"blog_title":"\u5c71\u4e0b\u8aa0\u4e8c\u90ce\u306eIT\u3068\u30d5\u30a9\u30fc\u30c8\u30ca\u30a4\u30c8\u3068\u91ce\u7403\u30d6\u30ed\u30b0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmelheaven.hatenadiary.jp%2Fentry%2Fatcoder158\" title=\"AtCoder Beginner Contest 158 \u904e\u53bb\u554f - \u5c71\u4e0b\u8aa0\u4e8c\u90ce\u306eIT\u3068\u30d5\u30a9\u30fc\u30c8\u30ca\u30a4\u30c8\u3068\u91ce\u7403\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>","width":"100%","blog_url":"https://melheaven.hatenadiary.jp/","title":"AtCoder Beginner Contest 158 \u904e\u53bb\u554f","author_name":"electric-city","url":"https://melheaven.hatenadiary.jp/entry/atcoder158","provider_name":"Hatena Blog","published":"2020-03-27 15:53:49","author_url":"https://blog.hatena.ne.jp/electric-city/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/e/electric-city/20200319/20200319193051.jpg","height":"190","description":"A\u554f\u984c \u96e3\u306a\u304f\u30af\u30ea\u30a2 str_ = input() print('Yes') if 'A' in str_ and 'B' in str_ else print('No') B\u554f\u984c \u9752\u7403\u3092A\u500b\u3001\u8d64\u7403\u3092B\u500b\u4e26\u3079\u3066\u3001N\u500b\u76ee\u307e\u3067\u306e\u9752\u7403\u306e\u6570\u3092\u6570\u3048\u308b\u554f\u984c\u3002 \u6700\u521d\u306b\u63d0\u51fa\u3057\u305f\u306e\u306fWA\u3067\u5f3e\u304b\u308c\u307e\u3057\u305f\u3002 n, a, b = map(int, input().split(' ')) print(int(n%(a+b))+int((n//(a+b))*a)) \u6700\u5f8c\u306e\u5468\u671f\u3067\u4e26\u3093\u3067\u3044\u308b\u9752\u7403\u306e\u500b\u6570\u3092min(N%(A+B), A)\u3067\u6570\u3048\u3066\u3044\u307e\u3059\u3002 n, a, b = map(int, input().split(' '))\u2026","type":"rich","provider_url":"https://hatena.blog","categories":["Python","AtCoder"],"version":"1.0"}