Getting correct answer, still testcases failing

I am getting correct ans, still the test cases are failing. Please help. Is there a specific format in which ans are to be printed?