THE QUESTION (not really reuired)http://www.spoj.com/problems/BLMIRINA/MY ANSWERhttp://ideone.com/SbYs7JPROBLEM the answer should be 6 decimal places , for the TEST CASE1179 56 56ACCEPTED ANSWER = 147.084601 102.015294MY ANSWER = 147.084593 102.015289As you see , it is only a minute difference and depends on technique used for solving a problem...any suggestions to get around it
float is not so good as double [and of course is not so precision]