codeforces somehow giving wrong output than what my ide is giving

Правка en1, от dikki99, 2022-06-11 13:43:52

this is my code link which is not accepted: https://codeforces.me/contest/233/submission/160186584

this is the code link which is accepted: https://codeforces.me/contest/233/submission/160187423

both on 10000000100000000 as the input are giving 100000000 as the output in my local ide, but somehow on running my previous solution on codeforces it is giving -1 as the output.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский dikki99 2022-06-11 13:43:52 447 Initial revision (published)