Refactor C++'s problem 81 to use Euler library.
Solve problem 82 using C++.