Files
project-euler-solutions/README.md

42 lines
1.2 KiB
Markdown

# 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 solutions
- `solution-docs/` - Contains markdown documents explaining each solution in detail
- `build/` - Contains compiled executables and build artifacts
## How to Use
1. Browse the `solution-docs/` directory to read problem explanations
2. Check the corresponding code in `src/` to see implementations
3. Compile and run solutions with a C++ compiler
## Compilation
To build the project, use CMake:
```bash
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.*