Ternary search
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Find the minimum of a function .
Input
Two integers and .
Output
Print the value of where the function is minimal. Print the answer with decimal digits. It is known that .
Examples
Input #1
Answer #1
Submissions 2K
Acceptance rate 44%