Runtime error SNELECT

HERE is my code…check it please

https://www.codechef.com/viewsolution/15598957