https://www.acmicpc.net/problem/1085

#Solution
x, y, w, h= map(int, input().split())
result = []
result.append(w - x)
result.append(x - 0)
result.append(h - y)
result.append(y - 0)
print(min(result))'Programming [Python] > 백준 알고리즘 솔루션' 카테고리의 다른 글
| #121 백준 파이썬 [3009] 네 번째 점 (0) | 2019.09.30 |
|---|---|
| #120 백준 알고리즘 [3036] 링 (0) | 2019.09.30 |
| #118 백준 파이썬 [2609] 최대공약수와 최소공배수 (0) | 2019.09.30 |
| #117 백준 파이썬 [15652] N과 M (4) - 중복 조합 (0) | 2019.09.29 |
| #116 백준 파이썬 [15651] N과 M (3) - 중복 순열 (0) | 2019.09.29 |