how to overcome integer overflow in this particular problem

Revision en1, by idonthatephy, 2022-05-23 08:54:34

1574C - Slay the Dragon--this is the problem given below is my code- 158115252 it is failing test case 3 because of integer overflow, is there any way to overcome the integer overflow?


  Rev. Lang. By When Δ Comment
en1 English idonthatephy 2022-05-23 08:54:34 251 Initial revision (published)