Chefina and swap

Link to question https://www.codechef.com/JULY20B/problems/CHFNSWPS

Link to my code https://www.codechef.com/viewsolution/35834347

Please verify my code
I got wrong answer

You could have edited your previous post as well.

1 Like