solution :http://www.codechef.com/viewsolution/6301025
Question :http://www.codechef.com/problems/CHEFEQ
i can do this in many simpler way but whats wrong with this method.
nothing is wrong… you just missed ‘\n’ in print statement.
Here’s the AC’ed code: http://www.codechef.com/viewsolution/6303136
thanx a lot brother
welcome…