Skip to content

Commit f3ce150

Browse files
authored
Create 1085.py
1 parent 5ad8f95 commit f3ce150

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

1085.py

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
x, y, w, h = map(int, input().split())
2+
num = [x, y, w-x, h-y]
3+
min = num[0]
4+
for i in range(1,4):
5+
if num[i] < min:
6+
min = num[i]
7+
print(min)

0 commit comments

Comments
 (0)