readme revision
This commit is contained in:
22
README.md
22
README.md
@@ -6,6 +6,7 @@ This repository contains my solutions to Project Euler problems. Each solution i
|
|||||||
|
|
||||||
- `src/` - Contains the actual C++ code solutions
|
- `src/` - Contains the actual C++ code solutions
|
||||||
- `solution-docs/` - Contains markdown documents explaining each solution in detail
|
- `solution-docs/` - Contains markdown documents explaining each solution in detail
|
||||||
|
- `build/` - Contains compiled executables and build artifacts
|
||||||
|
|
||||||
## How to Use
|
## How to Use
|
||||||
|
|
||||||
@@ -13,6 +14,27 @@ This repository contains my solutions to Project Euler problems. Each solution i
|
|||||||
2. Check the corresponding code in `src/` to see implementations
|
2. Check the corresponding code in `src/` to see implementations
|
||||||
3. Compile and run solutions with a C++ compiler
|
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
|
## Contributing
|
||||||
|
|
||||||
Feel free to explore, learn, and suggest improvements. Solutions are written in C++ and aim to balance correctness, efficiency, and clarity.
|
Feel free to explore, learn, and suggest improvements. Solutions are written in C++ and aim to balance correctness, efficiency, and clarity.
|
||||||
|
|||||||
Reference in New Issue
Block a user