Rubyは再帰呼び出しを何回出来るか
def endless(x) endless(x-1) if x != 1 end i=1 while(true) do puts i endless(i) i+=1 end
環境によっても違うのかもしれませんが、8735で止まった。
def endless(x) endless(x-1) if x != 1 end i=1 while(true) do puts i endless(i) i+=1 end
環境によっても違うのかもしれませんが、8735で止まった。