Compiler problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Compiler problem

What's the problem with codes in code playground? I mean, I tried to run my code and always hava an issue it can be Java, C or whatever. I tried to run it here: https://www.onlinegdb.com/ and is working and the same in desktop machine. Why not here?

18th Jul 2020, 1:42 AM
Edinson Martinez García
6 Answers
+ 2
Edinson Martinez García It is a solution if you just want to run the code in SL. It's fine if you don't like the idea, no problem. You have found your own solution anyways, just use other online compiler, or the one in your desktop.
18th Jul 2020, 2:54 AM
Ipang
+ 1
Thanks.
18th Jul 2020, 2:32 AM
Edinson Martinez García
+ 1
The solution is to add some intelligence to the code to make it smarter in handling input. The code should gracefully exit if there is no more input available.
18th Jul 2020, 2:48 AM
Ipang
18th Jul 2020, 2:07 AM
Edinson Martinez García
0
So, the solution is to not upload code here.
18th Jul 2020, 2:28 AM
Edinson Martinez García
0
Ipang That's not a solution, cause the code is thought to be like that. Thanks for your intelligence
18th Jul 2020, 2:50 AM
Edinson Martinez García