Thank you for response. But I would like to tell you that the same problem occurs in my code when i execute problem B of the qualification round. Could you please attached the output of my code which comes in your system.
On Tue, May 25, 2010 at 3:10 AM, Carlos Guia <[email protected]> wrote: > In my computer it has no difference, thought it may in some systems, but > the standard format for "long int" is "%ld". In my computer long and int are > both 32 bits long so there's no difference, maybe on a 64-bit system long is > 64 bits long and there is. Other than that I don't see how that code could > give negative results, unless c is overflowing, but seems unlikely. > > Carlos Guía > > > On Sun, May 23, 2010 at 7:57 AM, Amitesh Purwar < > [email protected]> wrote: > >> Hello, >> I am a newbie in the programming contest. I was looking through >> the xdliutao(rank 4) code and i found that it gives the same output as my >> code. The output does contain some negative values which result in >> cancellation of my code. Do you guys suggest me....that is there a problem >> exists in my code or my machine? >> >> and this is not the first time for me that my code outputs garbage >> value.:) >> >> -- >> Thanks & Regards, >> >> Amitesh Purwar. >> >> Twitter : http://bit.ly/jQfDo >> facebook : http://bit.ly/xIlCn >> >> Contact No. :- +91-9718418621 >> >> >> -- >> 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]<google-code%[email protected]> >> . >> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-code%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-code?hl=en. > -- Thanks & Regards, Amitesh Purwar. "Accept the Challenges to feel the exhilaration of Victory." Twitter : http://bit.ly/jQfDo facebook : http://bit.ly/xIlCn orkut : http://bit.ly/RXG6e linkedin : http://bit.ly/YbfZZ Contact No. :- +91-9718418621 -- 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.
