Project Euler Homework
|
Find the sum of all the numbers that can be written as the sum of fifth powers of their digits. More...
#include <iostream>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | digits |
Functions | |
int | main () |
Variables | |
const int | MAX = 7 |
Find the sum of all the numbers that can be written as the sum of fifth powers of their digits.
Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits:
Definition in file 030.cpp.