AN ERROR INQUESTION

IN CHFAR Problem - CodeChef question
value of x-x^2=0.25 (maximum)
so plz. change the answers