{"provider_url":"https://hatena.blog","published":"2024-04-06 02:11:13","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcoding.hatenadiary.com%2Fentry%2F2024%2F04%2F06%2F021113\" title=\"ABC211 B\u554f\u984c Python\u89e3\u8aac - \u30ce\u30f3\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u3001\u7af6\u30d7\u30ed\u975e\u30ac\u30c1\u52e2\u306b\u3088\u308b\u7af6\u30d7\u30ed\u300c\u8d85\u300d\u5165\u9580\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","title":"ABC211 B\u554f\u984c Python\u89e3\u8aac","author_url":"https://blog.hatena.ne.jp/ao1205/","blog_url":"https://coding.hatenadiary.com/","version":"1.0","author_name":"ao1205","url":"https://coding.hatenadiary.com/entry/2024/04/06/021113","blog_title":"\u30ce\u30f3\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u3001\u7af6\u30d7\u30ed\u975e\u30ac\u30c1\u52e2\u306b\u3088\u308b\u7af6\u30d7\u30ed\u300c\u8d85\u300d\u5165\u9580","categories":[],"image_url":null,"description":"AtCoder Beginner Contest 211 B-Cycle Hit \u554f\u984c\u306f\u3053\u3061\u3089 \u3010Python\u3067\u306e\u89e3\u6cd5\u3011 \u307e\u305a\u89e3\u7b54\u4f8b\u3092\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002 S = [input() for _ in range(4)] hits = [\"H\", \"2B\", \"3B\", \"HR\"] flag = True for i in hits: if i not in S: flag = False break print(\"Yes\" if flag else \"No\") 1. \u554f\u984c\u6587\u306e\u628a\u63e1 \u6587\u5b57\u5217\u306fH,2B,3B,HR\u306e\u3069\u308c\u304b\u3067\u3042\u308a\u3001\u304b\u3089\u307e\u3067\u306bH,2B,3B,HR\u304c\u63c3\u3063\u3066\u3044\u308b\u304b\uff1f\uff081\u3064\u305a\u3064\u5b58\u5728\u3057\u3066\u3044\u308b\u304b\uff1f\uff09\u3092\u2026","provider_name":"Hatena Blog","height":"190"}