+ 3

How does exactly the code playground work?

Am I just giving input and everything is being computing on the servers side? Or are the integers, strings etc being allocated on my device? I think the first option is actually accurate, but who knows... Exemple https://code.sololearn.com/c2e7nOOdSqhW/?ref=app Sorry for my poor English... I'm teenager from Eastern Europe and I go to bilingual school with French, so I only learn English reading posts... xD Thank you for the answers!

28th Feb 2018, 6:02 PM
Suzi Deptage
Suzi Deptage - avatar
2 Antworten
+ 3
Your first assumption is correct. You're simply providing the inputs and everything is happening on the server-side, then it feeds the output back to you via the editor. As you can imagine, this is all for security purposes, as you wouldn't want to allow people to post any type of code they want and allow the entire public to execute it. The unfortunate side of it is that it limits what's possible and you need to know all of your inputs prior to execution.
28th Feb 2018, 6:13 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 3
Thank you! I hope you're right 😉
28th Feb 2018, 6:17 PM
Suzi Deptage
Suzi Deptage - avatar