⌨️
[AtCoder]ABC-188|A - Three-Point Shot
設問ページ
提出結果
def getIntMap():
return map(int, input().split())
def main():
x, y = getIntMap()
print('Yes' if abs(x - y) < 3 else 'No')
if __name__ == "__main__":
main()
def getIntMap():
return map(int, input().split())
def main():
x, y = getIntMap()
print('Yes' if abs(x - y) < 3 else 'No')
if __name__ == "__main__":
main()
Discussion