Strange error

Revision en1, by Svapnil007, 2021-01-08 20:49:08

When I uncomment 3rd line i.e when I convert all integer to long long. Why am I getting runtime error on test case 8. Without this conversion i.e. int to long long code is getting accepted.

https://codeforces.com/contest/1467/submission/103815290

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Svapnil007 2021-01-08 20:49:08 263 Initial revision (published)