f(a, b) = g(b, 1) where
  g(2x, acc) = g(x, acc^2)
  g(2x+1, acc) = g(x, acc^2*a)

이것도 뭐 편법적으로 인자 세개 쓴건데... 아니 두개만 가지고 어케 해


- dc official App