blob: c07199fe096324c59661cdc4aa2f17b0d27bca92 (
plain) (
blame)
1
2
3
4
5
6
|
namespace;
include rt;
// o3 recursion nests on the host stack as deep as the machine's own stacks allow
o3 int deep(int n) { if (n == 0) return 0; return 1 + deep(n - 1); }
fn main() { rt.put_n(deep(30000)); rt.put_c(10); return 0; }
|