+ 3
Why do I find it Strange my c# codes don't run on Sololearn😐
Seems Sololearn is putting c# on the rim of its present
8 ответов
+ 4
Hephaestus Interesting... Perhaps Fogwe was referring to similar timeout issues as seen in other situations.
However, he does have a couple of codes with actual compilation errors, which I assume is the problem. 🤷♂️
+ 3
https://code.sololearn.com/ceBXT592Uw7M/?ref=app
Line 15 in this code references a method called Stars(), which doesn't exist.
https://code.sololearn.com/c6QP8zq7vuKS/?ref=app
Line 14 references a class called Btree which doesn't exist. Perhaps you meant to use the class called BinaryTree, which is defined on Line 28.
Also, the variables current and parent between lines 40 and 59 are not declared anywhere.
These are the only 2 of your 4 codes that don't run.
+ 2
Google translate didnt quite make this its best translation. The reason your codes might not be running is because sololearn doesn't support all modules.
+ 2
Hephaestus Which C# code are you referring to from Fogwe's code list? I saw none involving file access.
Also, only two of the 4 codes had problems for me and both showed the appropriate error messages.
Perhaps those other issues with Python are something different altogether. 🤔
+ 1
I havn't try c#
0
This isn't just a C# problem. I've noticed quite a bit of python code (especially that involving file manipulation) just not run or give unexpected results. I've even tried copying some python code verbatim from the python course and it ran differently than when I hit "Try it yourself"
0
David Carroll I was talking about python code. It's not from any list, just a general observation while using the playground
0
David Carroll on that topic, I do not know