Repository containing "Project Euler" challenges from https://projecteuler.net/archives.
- bazel (Tested on version 0.20.0)
bazel build :projectEuler
To run a specific challenge, give the numbers of the challenges that want to be executed as an argument.
If no arguments are given, all of the available challenges are run.
Example: bazel run :projectEuler -- 1 2 3
- Implement a class under
src/challenges
with the corresponding name. - Make this class inherit from
ChallengeInterface
- Add it to
ChallengeFactory::createChallenge()
method with the corresponfing ID - Make sure the new challenge class is included in
src/all_challenges.hpp