Share your repls and programming experiences

← Back to all posts
Slow program, missing newlines
YipCubed (6)

I do live coding of LeetCode questions using repl.it.

Recently, when I was running a simple pice of C++ code, the program did not finish running as it should. I stopped and ran it again. This time it produced results but a "newline" was missing from the output. Running it a 3rd time gave it the expected result. There is no randomness in the code, so it should have given the same result each time.

The video is at https://www.youtube.com/watch?v=iK18dziRhP8 Go to 9:48 to see the problem I am describing.

Curious if others are also having this problem or whether there is anything that can be done about it.

Thanks,

Yip
twitch: https://www.twitch.tv/yipcubed