Skip to content

About

A collection of Project Euler solutions implemented in multiple programming languages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Project Euler Solutions 🚀

A collection of Project Euler solutions implemented in multiple programming languages.

This repository is designed to solve Project Euler problems using a consistent project structure across all supported languages, making it easy to compare implementations, algorithms, and language features.


Supported Languages

  • ☕ Java
  • 🔵 C
  • 🟦 C++
  • 🟣 C#
  • 🐍 Python

Repository Structure

Project-Euler-Solutions/
│
├── Problem_0/
│   ├── PROBLEM_0.md
│   ├── Makefile
│   ├── Problem_0.c
│   ├── Problem_0.cpp
│   ├── Problem_0.java
│   ├── Problem_0.cs
│   └── Problem_0.py
│
├── Problem_1/
│
├── Problem_2/
│
├── ...
│
└── README.md

Each problem directory is self-contained and contains:

File Description
PROBLEM_0.md Problem description, approach, complexity, and notes
Makefile Compiles and runs every supported language
Problem_0.c C solution
Problem_0.cpp C++ solution
Problem_0.java Java solution
Problem_0.cs C# solution
Problem_0.py Python solution

About the Project

The objective of this repository is to solve Project Euler problems while comparing implementations across multiple programming languages.

The repository focuses on:

  • Algorithms
  • Mathematical problem solving
  • Programming language comparisons
  • Computational thinking
  • Code optimization
  • Clean and consistent implementations

Each problem follows the same directory structure, making it easy to navigate and maintain.


Running the Solutions

Navigate to a problem directory.

cd Problem_0

Run every implementation.

make

Run Individual Languages

C

make c

C++

make cpp

Java

make java

C#

make cs

Python

make python

Clean Generated Files

make clean

Development Environment

Language Tool
C GCC
C++ G++
Java OpenJDK
C# Mono
Python Python 3
Build System GNU Make

Need to set up these tools? See SETUP.md for a full Linux installation guide.


Goals

  • Solve every Project Euler problem
  • Improve algorithmic thinking
  • Strengthen mathematical reasoning
  • Compare solutions between programming languages
  • Learn language-specific programming techniques
  • Build a reusable collection of reference implementations

Disclaimer

These solutions are provided for educational purposes.

Project Euler encourages participants to attempt each problem independently before reviewing existing solutions.


Author

Axcel Blade


⭐ If you find this repository useful, consider giving it a star!

About

A collection of Project Euler solutions implemented in multiple programming languages.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages