Given positive integers
Constraints
Input Specification
The input consists of a single line containing three space-separated integers
Output Specification
Print, on a single line, the minimum possible value of
The input data will be set such that the correct answer will not be within
Sample Input 1
Copy
31 41 59
Sample Output 1
Copy
549.200
Sample Input 2
Copy
3 4 5
Sample Output 2
Copy
16.000
Comments
...was my solution intended? I thought for sure that I needed some calculus for this or else I would TLE haha
nope, the problem is only 5 points, it's not supposed to be that hard!
How come I am getting the answers to be actually 15.492 and 547.682? I tested these answers and they seem to yield lower answers for f(M) which makes the test cases wrong. But I must be missing something... I initially thought maybe they only wanted the first decimal place but when I do that, I get some of the other answers wrong. So could someone tell me what is wrong with these answers?
I am assuming you are directly applying AM-GM, and the inequality holds iff
but 
may have non-integer solutions.
How come derivative is not accurate enough?
Try ceiling or flooring certain values
This comment is hidden due to too much negative feedback. Show it anyway.