Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- n = int(input())
- m = int(input())
- t = int(input())
- D = 4*((n+m)**2) - 16*t
- ans = (2*m+2*n - (D**(1/2)))/8
- print(math.floor(ans))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement