Title |
User |
Message |
Date Posted |
Re: could there be negetive and postive ints ? |
wgma00 |
yes, otherwise the problem would be trivial. |
Sep 30, 2016 - 9:02:03 pm UTC |
could there be negetive and postive ints ? |
Wise_Syrian |
|
Sep 30, 2016 - 1:40:40 pm UTC |
Re: Begginer here on Pascal |
wgma00 |
http://wiki.freepascal.org/Integer Integers only have a capacity of -231 to 231 -1 which is 10 digits long while this problem has input that may be up to 100 000 digits each. So you'll have to find a... |
Oct 26, 2013 - 3:44:05 am UTC |
Begginer here on Pascal |
Hzhang |
The program is not working! Is there a catch? I have used the same program as the first A + B. For Some reason it no work! Its very Simple! _________________ var a,b:integer; begin readln (a); ... |
Oct 26, 2013 - 3:28:30 am UTC |
Re: Is this high-precision calculation or something? |
jargon |
It's exactly as the problem states: add two numbers together, each of which may be up to 100 000 digits long. Note that python is disallowed because it has bignums. |
Apr 23, 2012 - 1:05:01 am UTC |
Is this high-precision calculation or something? |
ImbaCalvin |
The same as the title |
Apr 22, 2012 - 10:28:14 pm UTC |
Re: Why can't we submit this in java? |
jargon |
Java has a built-in BigInteger class. A sample Java solution for this problem is as follows: import java.util.Scanner; import java.math.BigInteger; public class aplusb2 { public static void main... |
Jan 10, 2012 - 1:58:55 am UTC |
Why can't we submit this in java? |
Karthik |
It's not like it makes it any easier, we still have to use string manipulation because java variables can't store such big integers. |
Jan 10, 2012 - 12:14:43 am UTC |
Re: Input Format |
jargon |
Separate lines. |
Dec 02, 2011 - 5:20:19 am UTC |
Input Format |
Alex |
Are A and B on the same line separated by a space or two separate lines? |
Dec 01, 2011 - 11:38:17 pm UTC |