Submissions not accepted because of extra spaces in the test case utputs

Hi,

These days any of the database problems I am trying to solve gets accepted for the current test case, however, on submission, the result says wrong answer because of extra blanks in the output. Not sure how to resolve this.
I have tried trimming blank spaces, but that does not work.
I would really appreciate some help because all my submissions are going wrong even when the answer is correct.

Comments (0)