Rare numbers: Difference between revisions

Content added Content deleted
(Oops, moved the second VB.NET version back into its correct position.)
(→‎Traditional: Stack corruption bug now fixed.)
Line 4,815: Line 4,815:
for (num in dis[level]) {
for (num in dis[level]) {
di[level] = num
di[level] = num
System.write("") // guards against VM recursion bug
fnpr.call(cand, di, dis, indices, nmr, nd, level+1)
fnpr.call(cand, di, dis, indices, nmr, nd, level+1)
}
}
Line 4,857: Line 4,856:
for (num in list[level]) {
for (num in list[level]) {
cand[level] = num
cand[level] = num
System.write("") // guards against VM recursion bug
fnmr.call(cand, list, indices, nd, level+1)
fnmr.call(cand, list, indices, nd, level+1)
}
}