Yes, that's the one! In his compiler printf("%.8f", 0) printed 0; in gcc it prints out something wacky.
On Wed, Mar 10, 2010 at 1:36 PM, Christopher Chen <tikitikireve...@gmail.com > wrote: > If you're having trouble with the 'winning' solution, try going to > line 44 and replacing "0" with "0.0". > > -Chris > > On Mar 9, 3:47 pm, Bartholomew Furrow <fur...@gmail.com> wrote: > > Whose solution was it? One round we had a contestant who used an unusual > > compiler, and had a solution that didn't work in gcc. Maybe this is that > > one? > > > > On Mar 8, 2010 7:02 AM, "Stephan09" <stephan.ribe...@googlemail.com> > wrote: > > > > Hello! > > > > I was practicing with some old problems and tried to solve the Center > > of Mass Problem of Round 1C - B in 2009. > > I correctly understand the solution and the winning c++ codes. But > > when I compile the winning codes on my pc and calculate the solutions > > for the practice input, I allways get that the submitted solution is > > incorrect. > > > > Does anyone know how that can be? I didnt change any of the code. Is > > it possible that, when using c++, the calculated values depend on the > > processor in use? > > Thus, is it possible that one has to write different c++ codes for > > different processors? > > > > Thanx a lot! > > Stephan > > > > -- > > You received this message because you are subscribed to the Google Groups > > "google-codejam" group. > > To post to this group, send email to google-c...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> > <google-code%2bunsubscr...@googlegr oups.com> > > . > > For more options, visit this group athttp:// > groups.google.com/group/google-code?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "google-codejam" group. > To post to this group, send email to google-c...@googlegroups.com. > To unsubscribe from this group, send email to > google-code+unsubscr...@googlegroups.com<google-code%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > > -- You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to google-c...@googlegroups.com. To unsubscribe from this group, send email to google-code+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-code?hl=en.