From 701f8df09d1b946437570ff9c2ef1d08e721d6df Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Sat, 28 Feb 2026 20:01:25 +0900 Subject: [PATCH] baekjoon 20260228 --- code_study/Baekjoon/python/2455.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 code_study/Baekjoon/python/2455.py diff --git a/code_study/Baekjoon/python/2455.py b/code_study/Baekjoon/python/2455.py new file mode 100644 index 0000000..3219d7d --- /dev/null +++ b/code_study/Baekjoon/python/2455.py @@ -0,0 +1,6 @@ +a, b = 0, 0 +for _ in range(4) : + x, y = map(int, input().split()) + a += (y-x) + b = max(b, a) +print(b) \ No newline at end of file