Program is correct but is shown wrong

i have tested all the test cases and their outputs. They are correct yet somehow the online compiler shows that my program is wrong

please refer to my program #7915807

Hey @j4jeetu18, can you please share the link of your code over here ?..(the online IDE link) I need to look and run the code to tell you the error.

I hope this helps !
Happy Learning ! :slight_smile:

https://drive.google.com/file/d/1Ua4fJOdn-JgyXI7HBXUTrqogL7yvgPw4/view?usp=sharing

Hey @j4jeetu18, just remove the print statement as it is not required in the ouput. You need to strictly print only those things specified in the output format. (No extra things to be printed onto the console)

I hope this helps ! :+1:
Happy Learning ! :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

1 Like