+ 6
Manoah I don't think so. Probably CodePlayground throws Execution timed out error based on time , lines and total char count. The expected output is 14 but after appending 1 to the output string the conditions required to throw ETO error are met and 4 is never printed. @Manoah I'm not totally sure. Your logic makes some sense too.
13th May 2020, 8:54 PM
Kevin ★
+ 2
Kevin Star You're right, its not displaying exit code 1 like i thought
13th May 2020, 8:57 PM
Manoah
Manoah - avatar
+ 2
It's an endless loop. SL limits your execution time. So at one arbitrary point, output just stops.
13th May 2020, 10:13 PM
HonFu
HonFu - avatar
+ 1
Its showing exit code 1 which means there was a problem with the program so thats why it exited
13th May 2020, 8:47 PM
Manoah
Manoah - avatar