Submit solution
Points:
7
Time limit:
2.0s
Memory limit:
64M
Author:
Problem types
Allowed languages
Assembly, C, C++, Java, JS, NASM, NASM64
An absolute unit is a number that is really big. These numbers cannot be represented with unsigned 64 bit integers. Can you add 2 absolute units?
Input Specification
The only 2 lines of input will each contain a positive absolute unit no greater than the number of atoms in the observable universe.
Output Specification
Print the sum of the 2 absolute units.
Sample Input
978347132461238946132789569175629236049312471916358
43957190432705927548600156320610146301463045912836592358036
Sample Output
43957191411053060009839102453399715477092281962149064274394
Comments
I want use BigInteger class. I big sad...
:(
If you like BigInteger class, try this problem: https://tssoj.ca/problem/triway19w2p6 :)