⌨️[AtCoder]ABC-056|B - NarrowRectanglesEasy2022/12/25に公開ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-056 B - NarrowRectanglesEasy 提出結果 def getIntMap(): return map(int, input().split()) def main(): w, a, b = getIntMap() d = b - (a + w) if b > a else a - (b + w) print(d if d >= 0 else 0) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion