⌨️
[AtCoder]ABC-377|A - Rearranging ABC
設問ページ
提出結果
def getString():
return input()
def main():
S = list(getString())
S.sort()
print("Yes" if "".join(S) == "ABC" else "No")
if __name__ == "__main__":
main()
def getString():
return input()
def main():
S = list(getString())
S.sort()
print("Yes" if "".join(S) == "ABC" else "No")
if __name__ == "__main__":
main()
Discussion