Marbels accepted in SPOJ But getting WA here

I guess problem with input output format or something with test data . I have submitted in Python in SPOJ and it got accepted. But here gives WA in TESTCASE 2,3,4,5

yeah seems so, everyone is having 0 score.

Hey Sanjay, I have checked there is no problem with the question, possibly you are missing something in your code because of which some cases are giving wrong answer.