I submitted the same code for this question 4 different times. Initially only 2 test cases passed and as I kept on submitting no. of test cases passed kept increasing. Eventually on the fourth submission all test cases passed.
I think something’s not right with the IDE, please see to it.
Something's wrong with the IDE
Sometimes there’s a problem while submitting code on online course. You can try submitting on hackerblocks instead.
Same thing is happening on the hackerblocks platform as well.
This is making me doubtful of my code
Is it happening for this question only, or for other questions as well?
It happened for one other question also, where my code was not correct, but it was submitting successfully with all test cases passed
Try hard refreshing the page. Clear all your cookies and history. Then try submitting it again.
Hard refresh as in close the window and reopen the codingblocks site ?
Hard refreshed the page, also cleared all my browsing data. Still the same problem. Tried subimitting the same code in which I scored 50 last time, now I’m getting 67
I think there’s some problem with the code editor itself
hey the problem still persists, even after doing everythig you told… What now?
I will get this thing checked. Meanwhile you can mark your doubt as resolved now.
Please send me the link to your code and the problem’s link as well.
The problem’s link is – https://online.codingblocks.com/app/player/144942/content/150417/4750/code-challenge
Okay I have sent these links. You can mark your doubt as resolved now.
So there is a probable error from the server side only, right?
Yes. I have reported this error to the team.
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.
