⌨️[AtCoder]ABC-060|A - Shiritori2022/12/28に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-060 A - Shiritori 提出結果 def getStringMap(): return input().split() def main(): a, b, c = getStringMap() print('YES' if a[-1] == b[0] and b[-1] == c[0] else 'NO') if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion