Help on problem

Revision en1, by Medeali, 2023-08-22 00:17:23

i was solving this problem and i got WAbut i am very confused why it said 29th number in testcases https://codeforces.com/contest/1855/problem/B i wrote a program to stop accepting at 29th numbers testcase to spot it but when i tried it had right ouput can you help here's my code https://codeforces.com/contest/1849/problem/B i even checked the editorial and i found the same idea as mine but still don't know why WA please help

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English Medeali 2023-08-22 11:37:36 65
en2 English Medeali 2023-08-22 00:19:30 35
en1 English Medeali 2023-08-22 00:17:23 446 Initial revision (published)