⌨️[AtCoder]ABC-070|B - Two Switches2022/12/31に公開・約300字ツイートPythonAtCoder#abctech 設問ページ 🔗ABC-070 B - Two Switches 提出結果 def getIntMap(): return map(int, input().split()) def main(): a, b, c, d = getIntMap() s = a if c < a else c e = b if d > b else d print(0 if b < c or d < a else e - s) if __name__ == "__main__": main() ツイートDiscussionログインするとコメントできますLogin
Discussion