如何重写 Ackermann 函数的非递归风格?
原文:How to rewrite Ackermann function in non-recursive style?
原文:How to rewrite Ackermann function in non-recursive style?
我有公用静态真菌( int M, int N){ 如果( M = 0 = = N = 0) 返回 M+N+1; 返回 func( M-1, func( M, N-1) ); } 如何用非累进风格重写它? 也许是...