Does \sqrt{a} + \sqrt{b} < \sqrt{c} hold? Constraints * 1 \leq a, b, c \leq 10^9 * All…
- User
Does \sqrt{a} + \sqrt{b} < \sqrt{c} hold?
Constraints
- 1 \leq a, b, c \leq 10^9
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
a \ b \ c
Output
If \sqrt{a} + \sqrt{b} < \sqrt{c}, print
Yes; otherwise, printNo.Examples
Input
2 3 9
Output
No
Input
2 3 10
Output
Yes
Assistant
pythona, b, c = map(int, input().split()) if a + b >= c: print("No") else: d = c - a - b if d * d > 4 * a * b: print("Yes") else: print("No")
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.