Project Euler Solutions
This repository contains my solutions to Project Euler problems. Each solution includes both the code implementation and a markdown document explaining the approach and mathematical insights.
Structure
src/- Contains the actual C++ code solutionssolution-docs/- Contains markdown documents explaining each solution in detailbuild/- Contains compiled executables and build artifacts
How to Use
- Browse the
solution-docs/directory to read problem explanations - Check the corresponding code in
src/to see implementations - Compile and run solutions with a C++ compiler
Compilation
To build the project, use CMake:
mkdir build
cd build
cmake ..
make
This will compile both solutions:
ProjectEuler_main(main.cpp)ProjectEuler_main-810(main-810.cpp)
Solutions
Problem 810
- Code:
src/main-810.cpp - Documentation:
solution-docs/problem-810.md
Contributing
Feel free to explore, learn, and suggest improvements. Solutions are written in C++ and aim to balance correctness, efficiency, and clarity.
Note: Solutions are shared for educational purposes. Please don't copy code directly for submission to Project Euler.
Languages
CMake
90.7%
C++
9.3%