⌨️[AtCoder]ABC-097|A - Colorful Transceivers2023/01/19に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-097 A - Colorful Transceivers 提出結果 def getIntMap(): return map(int, input().split()) def main(): a, b, c, d = getIntMap() print('Yes' if abs(a - c) <= d or (abs(a - b) <= d and abs(c - b) <= d) else 'No') if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion