Results of Comment Search

Search:    Place:    Show:

Title User Message Date Posted
Question - What am I outputting wrong? Bob Why does my program output 1000 for the sum of -1 and 10000, but outputs 9999 at home? Feb 13, 2009 - 9:44:23 pm UTC
Re: Does the sum fit in extended? Saravannan Why would the problem be worth 15 points if you could do it in about 10 lines? Jan 11, 2009 - 7:17:22 pm UTC
Re: Woah bbi5291 Ah yes, I see why now. The slow solutions involve padding the shorter string with zeroes on the front until it is as long as the longer string. When you add a character to the beginning of a string, a... Jan 11, 2009 - 3:50:14 pm UTC
Re: Woah taimla101 there at least 2 ways to do this problem, some people coded the fast way, and some people coded the slow way. Jan 11, 2009 - 3:37:22 pm UTC
Woah zerglingrush It's weird how there's a big gap in the solution times. It's either faster that 0.1 seconds, or slower than 1.5 seconds... Jan 11, 2009 - 4:20:57 am UTC
Re: Does the sum fit in extended? hansonw1 As said below the sum can be up to 100,000 digits long. I imagine extended only fits about 19 or so.. Jan 11, 2009 - 2:44:03 am UTC
Does the sum fit in extended? Bob Jan 11, 2009 - 2:40:51 am UTC
Re: Can this program be done in Pascal? bbi5291 As noted, it is possible to do in Pascal, but not in Turbo Pascal or Borland Pascal. Instead, you need the Free Pascal compiler http://freepascal.org Nov 22, 2008 - 7:10:36 pm UTC
Can this program be done in Pascal? Bob All the accepted answers were done in C++ Nov 22, 2008 - 7:01:04 pm UTC
Re: whats wrong? hansonw1 Integers don't have to be positive ;) Also you seem to have a limit of 255 - but as I said above the strings might be up to 100,000 characters long. (I know this won't work for Pascal strings; you ha... Nov 14, 2008 - 1:14:35 am UTC