The length of both num1 and num2 is < 5100. Both num1 and num2 contains only digits 0-9. Both num1 and num2 does not contain any leading zero. You must not use any built-in BigInteger library or ...
#define inputarray(a, n) f(i, 0, n) { cin >> a[i]; } #define printarray(a, n) f(i, 0, n) { cout << a[i] << " "; }cout << endl; ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results