Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

The absence of stack overflows on Codeforces

Revision en1, by idk321, 2020-10-23 17:57:17

If I run a recursive (Java) program on my machine, stack overflow usually occures before reaching depth of 10000 (there is no tail recursion since Java does not make it available unfortunately). Yet on Codeforces my recursive programs on trees work up to 100000 or more (one such program I found is https://codeforces.com/contest/1406/submission/92624199). Does anyone have an idea why is it like this and how can I make it so this would also work on my machine or on other less advanced online judges?

Tags stackoverflow, #java

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English idk321 2020-10-23 17:57:17 546 Initial revision (published)