79112293

Date: 2024-10-22 02:57:30
Score: 2
Natty:
Report link

Hi it seems like you hit the maximum value that Java can handle for an integer, for such high value, you can try :

var num1 = BigInteger("340282000000000000000000000000000000001");

var num2 = BigInteger("340282000000000000000000000000000000000");

BigInteger class is used for the mathematical operation which involves very big integer calculations that are outside the limit of all available primitive data types.

Reasons:
  • No code block (0.5):
  • Filler text (0.5): 00000000000000000000000000000000
  • Filler text (0): 000000000000000000000000000000000
  • Low reputation (1):
Posted by: Gauthier_D