Unable to find the mistake

Revision en1, by Yath, 2023-02-13 23:24:22

I am getting WA in Test case 2, particularly : wrong answer 35th numbers differ — expected: '1', found: '0'. I am unable to find the error in my code for this problem: 1622C - Set or Decrease My submission:193454039. The logic I used:

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Yath 2023-02-13 23:24:22 349 Initial revision (published)