Java stack size on Codechef

On the recent October Mega Cook-Off I found out that for some reason(most probably due to moving to the new cluster), stack size on Java became very small, and now you can’t even run an usual recursive DFS on a graph with 50000 nodes(in fact, the recursion depth limit is much smaller, look at this solution for example).

The question is, will it be changed? Of course, it’s possible to use Thread class and set stack size manually, but, you know, basic template for Java is quite large already :slight_smile:

3 Likes
//