Skip to content

About

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🧠 Project Euler - Resolutions in C++

Here are my personal solutions to Project Euler problems, developed in C++, with the aim of improving my algorithms, mathematics, and code structuring. Most of the information needed to solve these problems is available online.

Why undertake this project?

Since childhood, I have always had a passion for mathematics. The idea of ​​solving problems with unknown solutions has always fascinated me. However, my current level of mathematics is far from optimal, and one could even say that it is quite basic at this stage, especially when I initially wrote this README. Now, it's up to me to transform this simple foundation into a much more advanced and solid expertise.


✅ Progress

Problem Title Status Language
001 Multiples of 3 and 5 ✅ Finish C++ (v98)
... ... ⏳ In progress -

⚠️ Statements are not copied to comply with Project Euler rules. I briefly rephrase them in each file.


🛠️ Compilation

Each folder contains a minimal Makefile for quick compilation:

cd 001-multiples-of-3-and-5
make
./euler001

✅ Exercise Summaries

001 - Multiples of 3 and 5 ⏳

📝 Problem

Find the sum of all integers less than 1000 that are multiples of 3 or 5.

💡 Solution Logic

  • A for loop that iterates 1000 using a condition modulo 3 and 5 (== 0).
  • I'm using a container when I could avoid an allocation just to perfect my learning since I just finished the CPP Modules of 42 at the moment.

About

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages