+ 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

17th Aug 2019, 8:24 PM
Fogwe
Fogwe - avatar
9 Answers
+ 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. šŸ¤·ā€ā™‚ļø
18th Aug 2019, 4:21 AM
David Carroll
David Carroll - avatar
+ 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.
18th Aug 2019, 2:24 AM
David Carroll
David Carroll - avatar
+ 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.
17th Aug 2019, 8:30 PM
Ole113
Ole113 - avatar
+ 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. šŸ¤”
18th Aug 2019, 4:06 AM
David Carroll
David Carroll - avatar
+ 1
I havn't try c#
18th Aug 2019, 5:12 PM
Sarthak Sinha{challenge And Follow Me}
Sarthak Sinha{challenge And Follow Me} - avatar
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"
18th Aug 2019, 2:44 AM
Hephaestus
Hephaestus - avatar
0
David Carroll I was talking about python code. It's not from any list, just a general observation while using the playground
18th Aug 2019, 4:10 AM
Hephaestus
Hephaestus - avatar
0
David Carroll on that topic, I do not know
18th Aug 2019, 4:25 AM
Hephaestus
Hephaestus - avatar