Why I am unable to pass the test cases for thies code in sololearn Shapes project ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why I am unable to pass the test cases for thies code in sololearn Shapes project ?

Sometimes it shows as execution timeout and fails in test cases but if i re run the program it will pass same test case which had failed earlier and some other test cases will fail . What is the error ? https://code.sololearn.com/cLgHatBVzN2w/?ref=app

9th Nov 2021, 5:17 AM
Vijay(v-star🌟)
Vijay(v-star🌟) - avatar
1 Answer
+ 4
It would seem, that this is an SL bug. I attempted the project just now and the code execution timing out was indeed an issue which prevented the test cases from passing, although the code logic is correct. Will be sending a feedback to the devs, hopefully this gets looked into. Fortunately, you should be able to pass it by running the test cases a few more times. I went back, added/removed a space in my code to trigger the execution. So far it managed to pass 3 times out of 5. https://www.sololearn.com/discuss/2820091/?ref=app https://www.sololearn.com/discuss/2828243/?ref=app https://www.sololearn.com/discuss/2774035/?ref=app https://www.sololearn.com/discuss/2780631/?ref=app https://www.sololearn.com/discuss/2836740/?ref=app
9th Nov 2021, 6:06 AM
Hatsy Rei
Hatsy Rei - avatar