Right or wrong Solution :( (ANKTRAIN)

Can somebody tell why my solution of ANKTRAIN is showing WA , even the code is correct (works correctly in Codechef’s IDE).
Question’s link
My solution’s link

A very small typo. In case 7, you should print (n+1)“SU” and not (n+1)“SL”.
Your modified submission: CodeChef: Practical coding for everyone

Oops!!! missed that . Thanks for help.

Please dont forget to accept answers if your issue is resolved. Dont use award point feature as it takes away your karma.

Ok , i didn’t had any idea about accepting answers and karma points (as i’m new to codechef discuss ). Thanks for info.

link to question : ANKTRAIN Problem - CodeChef
can some one my recitfy my error
i tried multiple test cases and matched it with a accepted one . still am getting partial correct and WA in some other case
CodeChef: Practical coding for everyone