(increasing string)december 2021 long challange

question

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)
CodeChef: Practical coding for everyone