- 1

How did my program not time out for so long?!

I made a program recently that prints a good 1k+ lines (on sololearn) without timing out.. How?! You can see it at the top of my code bits

10th May 2021, 9:31 PM
Noah
Noah - avatar
1 ответ
+ 3
I believe the time out may also be tied to the total character count written to the output stream. Since you're only printing a single character + line break per line, you can go quite a while before the virtual buffer limit is reached... so-to-speak.
11th May 2021, 10:23 PM
David Carroll
David Carroll - avatar