Not necessarily. You’re getting WA on one or more testcases, but you can’t tell which one. Unlike many other judges, SPOJ continues to run all test cases even after a WA in an earlier one. This is a common misunderstanding.
I suggest creating test data until you find one where your code gives the wrong answer, identifying why, and then correcting it. Pretty standard debugging really.
The test data on spojtoolkit may help.
If you’re still stuck, you could share your code here.