The same happened to me on Problem C in the qualification round.
Fortunately, I got qualified anyway plus I learned the lesson :)


On May 23, 9:49 am, wRabbit_AlMag <[email protected]> wrote:
> Vexorian, no luck on dp? :)
> I remember your SRM 470
>
> On 23 май, 01:48, Vexorian <[email protected]> wrote:
>
>
>
>
>
> > And I wish I used mem[256][101][3] instead of mem[256][100][3] in my
> > code for 1A-B :(. What's worse is that it took me this much since
> > Yesterday to find out...
>
> > On May 22, 3:41 pm, bokertov <[email protected]> wrote:
>
> > > I used "int" and it worked for the small case. But my output for the
> > > large case was incorrect. Then I found out if I replace "int" by "long
> > > long", then it's correct! I lost 30 points because of this stupid
> > > mistake, man!
>
> > > The reason is that 10^5*10^5 = 10^10, which is bigger than the upper
> > > bound ~ 2*10^9 of int.
>
> > > I'll surely learn this lesson, and will avoid it in the future.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "google-codejam" 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 
> > > 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 [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > 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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> 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 [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.

Reply via email to