Really big number – can you handle it?

Responsive image
DALL-E AI

Prize

2024-02-29

0 Teams

0 Solutions
Challenge is finished

Develop a C#/C++/other program that computes the result of 9^9^9 (nine raised to the power of nine raised to the power of nine) and saves the answer to a text file.

Keep in mind that the answer is exceptionally large, potentially exceeding 300MB. Therefore, consider memory allocation carefully when storing the result in the file.

When submitting your answer, please provide your source code and last 200 digits of the answer (copy digits from txt file). So, do not send whole txt file as answer!

- Memory handling when saving big numbers to files

- Readable code

- Appropriate usage of libraries to handle big numbers

- Correct answer