working on other compiler but here showing wrong answer please can you tell me the some test cases
Nope. It’s your job to make test cases for these problems. No test cases can be provided aside from the ones in the problem statement.
That’s as simple as it can be. No matter whom you ask, the answer will always be no. You have to create the test cases yourself.