+ 1
The spy life challenge in code coach doesn't get solved despite my output matching the test results.
My code outputs same result as test cases do but still says tests failed..!!
7 Antworten
+ 4
Check if you print a character without a console representation somewhere, for example a space at the end or a null character. Printing such characters, although not visible, will lead to the comparison between your output and the solution to fail. If you can't find anything, feel free to copy the code into a project and link that here, so that we may take a look.
+ 3
I just copied the code into my code coach and it worked fine. I also don't see anything that would cause it to fail immediately. If the test cases aren't solved for you with the code above, you might want to write a mail to SoloLearn:
info@sololearn.com
+ 2
But you can't see all test cases
+ 2
Okay, lol. Interesting. I'm glad it somehow worked out now though.
+ 1
Here is code link : Shadow
https://code.sololearn.com/cU4r59wEtxXj/?ref=app
+ 1
Shadow Thanks for your help, it's working now. Passed all the tests..! Thanks again..!
0
Yes of course but first two cases are correct but still shows those two as wrong...