Although my code get accepted on leetcode, it is giving Run-Error for 2 test-cases out of 3 test-cases.
Code submitted on CodingBlocks
What is problem in my solution ?
Although my code get accepted on leetcode, it is giving Run-Error for 2 test-cases out of 3 test-cases.
Code submitted on CodingBlocks
What is problem in my solution ?
what do you mean by “input-files” and “output-files”, which files you are talking about ?
I mean that check if their are any carriage characters while taking input and while giving output.
No, there are not any carriage characters while taking input and while giving output.
Hey @maheshghamand, not able to access your leetcode solution ?? Are they exactly the same ??
And I think by carriage characters @rishabhshekhar04, meant that remove some invalid characters sometimes they get while copying pasting code from some online code editor. So you can try re-writing the code once.
I written my whole code inside the editor itself, but this time when I click on submit button, the editor just shows loading, and does not shows result at all.
Also, I checked the leaderboard section, where I found @rishabhshekhar04 also submitted code in python3 and his solution also passes just 1 test-case out of 3.
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.
Pls, once share the question link.