Problem 1: Tetration
https://open.kattis.com/problems/tetration
We want to output that satisfies:
The exponent of the right-hand-side is , which is equal to as well.
So, .
This can be implemented in C++ using the pow(base, exponent)
function and doubles.
Last updated