My code is running correctly on local machine, but failing all testcases on CodingBlocks
Is there different Input Format than I have considered or ithere is another problem in my solution ?
My code is running correctly on local machine, but failing all testcases on CodingBlocks
Is there different Input Format than I have considered or ithere is another problem in my solution ?
My code is matched on LeetCode -> link
I want you send a query of mine to the developers of CodingBlocks-website which is written below in quotes
Almost 20% questions I solved until now on CodingBlocks had given platform-related errors like this.
These type of errors brings down the quality of CodingBlocks as a learning-site in the eyes of many students like me.
These type of errors leads to wastage of time of both students and TAs
Also, the percentage of course-completion remains low even if answer by student is correct.
Thank you !
for this problem, u had to take T test cases and for each test cases u need to read input and print its the output.
and because u were not following the input format it was giving error
i agree some question has formating issue in input file,due to which python code sometimes give run error.
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.