http://www.codechef.com/viewsolution/4944822
Can’t understand what’s wrong here?
HI
the problem was in output format
“SET” in your code is different from “Set”
you leave an extra line after each output
here is the code that got accepted http://www.codechef.com/viewsolution/4945330
Thanks! got it by changing SET