In C and C++, an integer (int) is represented by 32 bits, which has the range of [-231, 231-1]=[-2147483648, 2147483647]. However, some high level language such as Python can handle arbitrarily large numbers. In this problem, you are asked to design a class called INT with the following constrains and features:
The idea of overloading operators is to operate your class like existing data type such as int.
The following is a sample code of using the class. For more details, please refer to main.cpp and function.h.
There are two lines. Each line has a single integer.
No leading 0's are given in the test cases. E.g. 0001239487.
The length of the integer is at most 1000 characters.
Compute and output the sum of the two integers.