i have tried the following test cases:-
???CIELIS???E? → CHEFCIELISACHEF
???CIELISOUR???F → CHEFCIELISOURCHEF
T?KEITE?SY → TAKEITEASY
??? → CHEFCHEF
??? → AAACHEF
C???F → CCHEF
& yet i am getting WA.
I have read the editorial,comments,googled it, yet no help…
can anyone come up with a test case where my code will fail ? Thanks…
Here is my code:-CodeChef: Practical coding for everyone