+ 3
What is the issue?
Why the code in case 1 is good out of the switch but Doesn't work (the error is "segmetion default") in the switch case 1??? https://code.sololearn.com/cJ0F2iM8KKvl/?ref=app
4 Antworten
0
You are getting input in a loop. That's probably why you get the timeout error. While waiting, SoloLearn's maximum execution limit exceeded. SoloLearn doesn't have an interactive shell. It just runs the code and returns the output.
0
I tried it in Visual Studio 🙂
0
Marco Cárdenas Then share the error message from the local compiler.
0
Mustafa A It doesn't show any Error, Compiles good, and after entering all data it just stop without any Error message