need help finding the mistake in this code

Revision en2, by asaecs2, 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 asaecs2 2022-09-05 16:23:52 34 Tiny change: 'roach???\n\nProblem:' -> 'roach???\n(I guess there is an overflow -_-)\nProblem:'
en1 English asaecs2 2022-09-05 15:44:46 249 Initial revision (published)