+ 7

How to detect Java SoloLearn Playground in code?

Are there any hack to detect if we are executing our codesbits in the SoloLearn sandbox? I attach some research about that using system environment vars https://code.sololearn.com/ci8W7CLlPZ4h/?ref=app

8th Jan 2021, 11:02 AM
David OrdĂĄs
David OrdĂĄs - avatar
1 Answer
+ 3
The only thing that hurts my feeling whenever I run someone's python or java codes is that clueless pop-up that aways shows - saying " LOOK LIKE YOUR PROGRAM NEEDS INPUT. (I believe the user used an input or scanner ) but this SL pop-up doesn't come with a good hint. Sometimes I enter a string and got an error message, while other times I enter an integer while it was supposed to be a string. Web dev playground is still the best in SL
8th Jan 2021, 2:36 PM
Stonny
Stonny - avatar