Please read the new rule regarding the restriction on the use of AI tools. ×

Doubt in the Codeforces(918) Div4-C problem

Revision en2, by Sujay_27, 2023-12-29 10:58:13

Hello folks, Need some help in debugging.. The question is on the right : Ques This is the code I submitted : Code I don't know why I'm getting signed integer overflow, inspite of having all the variables as long long. Can someone enlighten me on what I'm missing. [contest:918][problem:1915C]

Tags div4, editorial

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Sujay_27 2023-12-29 10:58:13 1 Tiny change: 'the code Is submitted' -> 'the code I submitted'
en1 English Sujay_27 2023-12-29 10:57:43 452 Initial revision (published)