← Back to List

20215번: Cutting Corners ↗

Solutions

Python 3
76 B | 76 chars
from math import sqrt
a,b=map(int,input().split())
print(a+b-sqrt(a*a+b*b))