0

Problem with SoloLearn compiler results

I just tried to solve the "ballpark orders" Code in C#. My results kept being wrong. So I copied the code into VisualStudio and ran it there. In VisualStudio the results are exactly the same as the expected results in the test cases. Just when trying to run the same code again in SoloLearn, there is always an error. Does anybody have a suggestion, on how to solve that? https://code.sololearn.com/cE157i3aorIc/?ref=app

3rd Nov 2020, 3:46 PM
Eis Berg
3 Respuestas
+ 7
SoloLearn often has errors when running codes. I guess you can email info@sololearn.com but there is a reason they have restrictions on what type of code you can run in their servers.
3rd Nov 2020, 3:53 PM
Galaxy-Coding (inactive)
Galaxy-Coding (inactive) - avatar
+ 12
Eis Berg the logic used in your tried code is not executable for any of the test cases of the problem that's why it's not accepting the solution. For every test case you getting 21.4 which is not correct. Try to update the logic again and then run the solution. here is some information regarding the code problem https://www.sololearn.com/discuss/2109044/?ref=app https://www.sololearn.com/Discuss/2209346/?ref=app
3rd Nov 2020, 8:07 PM
GAWEN STEASY
GAWEN STEASY - avatar
0
Thank you very much for your replies! I didn't know that it was an issue for a long time. Is there a list of code-stuff I have to avoid? I guess it's better do it on Visualstudio from now on (the code does work there after all). I should focus on getting better, instead of trying to avoid error scenarios of the SoloLearn compiler.
3rd Nov 2020, 11:11 PM
Eis Berg