Skip to content

Latest commit

 

History

History

[1085]직사각형에서 탈출

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
file name src tags done draft level difficulty date
1085.md
직사각형에서 탈출
기하학
수학
true
false
3
Bronze III
2021-11-06

직사각형에서 탈출

import sys

def input(): return sys.stdin.readline().rstrip()
x, y, w, h = map(int, input().split())
print(min([x, y, w-x, h-y]))