백준 14단계 (기하1) - 1번

LEE'S·2023년 1월 25일
0

백준

목록 보기
13/27

1번 (1085번)

# 1085번
import sys

x,y,w,h = map(int, sys.stdin.readline().split())

arr = []

arr.append(w-x)
arr.append(h-y)
arr.append(x)
arr.append(y)

print(min(w-x,h-y,x,y))
profile
기록 블로그

0개의 댓글