You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proglang-c...@googlegroups.com
I am getting a stack overflow when running good7.fun. This seems like a natural consequence of the deep level of recursion required to process the number 111111. I guess this test was created for that particular reason but I don't understand how I can avoid this. Any hints?
Björn Johansson
unread,
Mar 12, 2014, 1:06:24 PM3/12/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proglang-c...@googlegroups.com
So a quick follow up. Simply increasing the stack size for the JVM solves the issue. I changed my script to "java -Xss40m ..." and everything was OK. Is this an acceptable solution?
Inari Listenmaa
unread,
Mar 12, 2014, 2:04:26 PM3/12/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to proglang-c...@googlegroups.com
Yes, this is acceptable. As long as it works on some input; you can also just change the number to a smaller one (e.g. 111 instead of 111111).