I'm stucked on 75% completion when submitting source (100% on test cases). The issue is we don't have the detail of the purpose of the failure.
I firstly thought it was just a "precision issue". So I check everything is declared as double, remove unnecessary computation involved in comparison to avoid floating point inaccurency (no sqare-root + no *6371). But it was not enough...
I thought there is time limits so I make sure the loop is performed once & minimize allocation & computation. Not enough
I thought "bad input format" should be managed in the final code, so I add exception management in case of ; Not enough
Any tip on what may miss?
The current code I have write.
static double K_DEGREE_TO_RADIAN = 180.0d/Math.PI ;
static void Main(string args)
<moderator note: don't post full code, please>
Console.WriteLine( bestSpotName ) ;