THANKS IN ADVANCE!
what do you mean by “i have a problem” ? which one ? it’s easier to help you if we know what you already tried, and so on.
LOL What’s Ur problem ??
Do not know what kind of problem you are facing, but here is link to solution to SPOJ Problem.
Hope it helps, Best Luck