need help finding the mistake in this code

Revision en2, by the.wiz, 2022-09-05 16:23:52

Can you please give a counter-example to find the error in my approach??? (I guess there is an overflow -_-) Problem:- https://codeforces.com/problemset/problem/1594/C My approach:- https://codeforces.com/contest/1594/submission/170945137

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English the.wiz 2022-09-05 16:23:52 34 Tiny change: 'roach???\n\nProblem:' -> 'roach???\n(I guess there is an overflow -_-)\nProblem:'
en1 English the.wiz 2022-09-05 15:44:46 249 Initial revision (published)