The same code runs in C language but gives run error for hidden test cases in Python, even though the sample test case gets passed. I’m not able to practice the course because of this.
Having Run Error
Hello @srivastavs552 yes this you will face because python is quite slower than c and c++.
you should try to submit it again.
if you dont understand anything you can ask here:
Happy Learning!!
Another question has accepted its python code, but not this one. It’s always showing Run Error.
@srivastavs552 it depends on the test cases as well ;
in that questions the test cases must be smaller then this one.
that is the issue.
i have also been taught that you should keep one language strong for the development and one for programming:
i also recommend you the same:
and thats why i recommend you to be in strong in python for developement and c or c++ for programming.
Happy Learning!!
Happy Learning!!
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.