Title |
User |
Message |
Date Posted |
Suggestions? |
ilovepi |
This took a while to get. Can anyone help shorten my code and possibly how to make it so that my code doesn't have those extra if statements at the end? Thnx |
Mar 09, 2011 - 4:18:37 am UTC |
Re: Re: Re: Problem? |
purohit3105 |
Thanks, that helped me very much!! :):) |
Mar 22, 2009 - 1:49:25 am UTC |
Re: Re: Re: Problem? |
purohit3105 |
Ah. |
Mar 21, 2009 - 11:44:42 pm UTC |
Re: Re: Problem? |
SourSpinach |
You have the correct number of digits...they just seem to pretty much all be wrong >. |
Mar 21, 2009 - 11:43:07 pm UTC |
Re: Problem? |
purohit3105 |
What is the correct answer for 6th and 8th test case?? I just want to compare it to what I am outputting.... |
Mar 21, 2009 - 11:22:48 pm UTC |
Re: Re: Question ... |
Bob |
At my computer, the program outputs an extra zero for all sums of two positive integers (making it incorrect), though it is accepted here on the judge. |
Mar 21, 2009 - 9:11:43 pm UTC |
Re: Question ... |
bbi5291 |
I'm sorry, what cases are you talking about? (I cannot see the output of your program on the judge if it is judged as correct; only when there is a problem can I see it.) I do notice that for several... |
Mar 21, 2009 - 8:11:53 pm UTC |
Re: Problem? |
bbi5291 |
Assuming you have correctly implemented the sum of two positive numbers and the sum of two negative numbers, logically, yes, all that remains is handling the cases in which one is positive and one is ... |
Mar 21, 2009 - 8:09:17 pm UTC |
Problem? |
purohit3105 |
I just wanted to make sure that the only thing that I need to add in my program is adding one negative and one positive numbers right? |
Mar 21, 2009 - 7:54:24 pm UTC |
Question ... |
Bob |
After changing the way i read in the file (numbers),i found that the judge accepted the output that my program outputted, but when tested on my computer, i found that the program outputs an extra zero... |
Mar 21, 2009 - 7:04:47 pm UTC |