Sunday August 21, 2011
This challenge will test your problemsolving skills more than your computing firepower...
Comparing two numbers written in index form like 2^11 and 3^7 is not difficult, as any calculator would confirm that 2^11 = 2048 < 3^7 = 2187.
However, confirming that a sixdigit number raised to the power of another sixdigit number would be considerably more difficult.
Using the text file provided below, 22K in size, containing one thousand lines with a base/exponent pair on each line, determine which line number has the greatest numerical value.
(This problem and its text come from Project Euler).
However, confirming that a sixdigit number raised to the power of another sixdigit number would be considerably more difficult.
Using the text file provided below, 22K in size, containing one thousand lines with a base/exponent pair on each line, determine which line number has the greatest numerical value.
(This problem and its text come from Project Euler).
Show solution
Challenge Resources:
Base_Exp
—
©19942022

Shodor

Privacy Policy

NSDL

XSEDE

Blue Waters

ACM SIGHPC






XSEDE Code of Conduct

Not Logged In. Login