<PREV Problem:
NEXT>
Solved by 101 users: ...
UserDateAttemptTimeCMSC
RAVEman07 jan 2009C++800.0155 
fese14 nov 2007C++1300.0255 
zloy_mipt30 may 2008C++500.0157 
fese07 feb 2008C++1700.0157 
david_it2117 apr 2008C++2800.0159 
murphy26 jul 2009C++4700.0259 
Philip_PV13 jul 2008C++300.0161 
RAVEman07 jan 2009C++500.0161 
DAV30 jun 2009C++3200.0161 
Philip_PV13 jul 2008C++200.0162 
checkil27 oct 2011C100.0163 
polzovatel26 oct 2011C++500.0163 
glueray03 nov 2006C++600.0163 
glueray03 nov 2006C++700.0163 
Languages
C++
84
C
10
Java
4
FPC
4
Kylix
2
Ruby
1
Python
1
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 
 > 

Root of the equation

Time limit = 1 second(s)

Solve the equation

x^(x^(x^(x^( ... infinite ... )))) = A

where x is a positive real number.

Right side of the equation is limit of Fn(x) as n tends to infinity where

Fn(x) = x^(x^(x^(x^( ... n times ... ))));

Input The real number A (number of given digits less then 20).

Output If there is no root, output NO. Otherwise output the root (only one) with accuracy 10^(-19).

Input#1
1000
Output#1
NO
Input#2
1.5
Output#2
1.3103706971044483036

Author:
Voroztsov Artem
7 November 2004

<PREV | Problem set | Search related messages | NEXT>


© acm.mipt DevGroup
The page was generated in 220ms

SW soft NIX
ID = 18.208.202.194