Click Here to go back to the homepage.

Tetration Solution:


#include <bits/stdc++.h>
using namespace std;

int main(){
    // #ifndef TESTING
    // freopen("input.txt", "r", stdin);
    // freopen("output.txt", "w", stdout);
    // #endif

    double N;
    cin >> N;
    cout << fixed << setprecision(6);
    cout << pow(N, 1 / N) << endl;
    return 0;
}