Skip to content

Commit 7db3678

Browse files
committed
[BOJ] 직사각형에서 탈출 (B3)
1 parent 1874482 commit 7db3678

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

심수연/9주차/260227.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# https://www.acmicpc.net/problem/1085
2+
3+
import sys
4+
input = sys.stdin.readline
5+
6+
x, y, w, h = map(int, input().split())
7+
8+
print(min(y, h-y, x, w-x))

0 commit comments

Comments
 (0)