(increasing string)december 2021 long challange

question
https://www.codechef.com/DEC21C/problems/INCREAST
code
https://www.codechef.com/viewsolution/54952592
can someone tell what’s wrong with my code/solution

Try this test Case:-
1
fabcdaf

Correct Answer:- aafbcdf

2 Likes

well if i write

=0 on line 120 this test case will pass
still wrong answer
edited solution(clears this
test case)
Solution: 54969327 | CodeChef