THE QUESTION (not really required)
http://www.spoj.com/problems/BLMIRINA/1 MY ANSWER**** http://ideone.com/SbYs7J [cut] PROBLEM**** [cut] the answer should be 6 decimal places , [cut] for the TEST CASE 1 179 56 56 [cut] ACCEPTED ANSWER = 147.084601 102.015294 [cut] MY ANSWER = 147.084593 102.015289 [cut] As you see , it is only a minute difference and depends on technique used for solving a problem...any suggestions to get around it .