⌨️
[AtCoder]ABC-204|A - Rock-paper-scissors
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def main():
x, y = getIntMap()
print(x if x == y else 3 - (x + y))
if __name__ == "__main__":
main()
def getIntMap():
return map(int, input().split())
def main():
x, y = getIntMap()
print(x if x == y else 3 - (x + y))
if __name__ == "__main__":
main()
Discussion