Showing test case faild

When i compile and run the code it shows right answer but while i submit my code it shows test failed. i can send my code if you want to check.