My solutions to projecteuler.net problems
C C++ Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
p001.c
p002.c
p003.c
p004.c
p005.c
p006.c
p007.c
p008.c
p008.in
p009.c
p010.c
p011.c
p011.in
p012.c
p013.c
p013.in
p014.c
p015.c
p016.c
p017.c
p018.c
p018.in
p018ex.in
p019.c
p020.c
p021.c
p022.cpp
p022.in
p023.c
p024.cpp
p025.c
p026.c
p027.c
p028.c
p029.cpp
p031.c
p038.c
p039.c
p040.c
p041.cpp
p042.c
p042.in
p043.cpp
p044.c
test_all.sh

README.md

What is Project Euler?

Project Euler is a series of challenging mathematical/computer programming problems that will require more than just mathematical insights to solve. Although mathematics will help you arrive at elegant and efficient methods, the use of a computer and programming skills will be required to solve most problems.

My Solutions

I originally discovered project euler when I was a junior in high school. I was fascinated by the problems and quickly began spending several hours a week working on them in my free time. At the time the only language I knew was Visual Basic so I completed the first 20 or so problems in VB. Once I learned C as freshman in college, I switched to C and when necessary C++.

All of my posted solutions are correct (the website allows you to check your answer) and I have never cheated or received help on the problems, although there are certainly a plethora of solutions on the internet for those who struggle with them. I am currently in the process of resolving the problems that I had previously done in VB as I don't think the VB solutions are worth sharing (yay highschool code!) so that explains some of the gaps.

All solutions can be compiled with gcc/g++ and some require the -lm flag for the math library. Some solutions also have a corresponding ".in" file that should be piped into the executable when run. All input is read from corresponding ".in" files and the output is a single line to stdout.

Project Euler Stats