Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

same code different OUPTUT

Revision en1, by Quirkless, 2021-11-15 13:09:58

Hey Guys, please I need your help. My submission https://codeforces.com/contest/1516/submission/135648061 to problem https://codeforces.com/contest/1516/problem/D is giving different outputs(on some online compiler vs codeforces compiler), on codeforces It's not showing the thing I wanted it to show, due to some overflow reasons, which I couldn't figure out from my code, please help me find it. I have literally wasted 2-3 hours figuring out why overflow, But didn't made any kind of progress. Even read some blogs about it, but..

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Quirkless 2021-11-15 13:09:58 561 Initial revision (published)