https://www.codechef.com/viewsolution/30878274 this is my solution can anybody help me to correct this !!!