Also, your algorithm seems correct, so I'd bet the problem is because you're using float (instead of double).
On May 5, 4:26 pm, "[email protected]" <[email protected]> wrote: > You should provide the input file that your output corresponds to. > > Your code seems to be outputting 5 decimal places, while the file you > attached has 6, so maybe you mixed something up? > > On May 5, 1:17 pm, sachin goyal <[email protected]> wrote: > > > > > > > > > I had submitted attached file scores1.cpp and out1.txt but it was showing > > wrong answer > > although I could not find difference(>10^-5) in my output file out1.txt and > > Accepted file opsach.txt ....??? > > Somebody please help... > > > out1.txt > > 1KViewDownload > > > scores1.cpp > > < 1KViewDownload > > > opsach.txt > > 1KViewDownload -- You received this message because you are subscribed to the Google Groups "Google Code Jam" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.
