Language | Version | Solved | Status |
---|---|---|---|
C | C99+ in: clang , gcc , pcc , & tcc C11+ in: msvc [1]
Browser [2] |
25 | |
C++ | C++98+ in: clang , &
gcc C++14+ in: msvc [1]
Browser [3] |
20 | |
C# | .NET 2+ | 21 | |
Java | Java 8+ in Corretto, Dragonwell, Liberica, Microsoft, Oracle, Semeru, Temurin, & Zulu |
18 | |
JavaScript | Node 12+ Bun 1.0+ Browser [4] |
33 | |
Lua | Lua 5+ [5] | 7 | |
Python | CPython 3.6+ Pypy 3.6+ GraalPy 23.1+ Browser [6] |
80 | |
Rust | Rust 1.69+ Browser [7] |
43 |
[1] | (1, 2) This is the earliest standard the MSVC explicitly supports. |
[2] | While these solutions do run in most browsers, they need to be bundled with Emscripten first,
and these tests not yet automated as in clang and gcc . To run these tests yourself, click here!
Note that this is an in-progress feature, and some solutions do not work under WebAssembly |
[3] | While these solutions do run in most browsers, they need to be bundled with Emscripten first,
and these tests not yet automated as in clang and gcc . To run these tests yourself, click here!
Note that this is an in-progress feature, and some solutions do not work under WebAssembly |
[4] | While these solutions do run in most browsers, they need to be bundled with WebPack 5.93+ & Babel 7.25+ first, and these tests not yet automated as in Nodejs and Bun. To run these tests yourself, click here! |
[5] | Mostly due to difficulty testing against older versions |
[6] | While these solutions do run in most browsers, they need to be bundled with Pyodide 0.26.2+ first, and these tests are not yet automated as in CPython and pypy. To run these tests yourself, click here! |
[7] | While these solutions do run in most browsers, they need to be bundled with wasm-pack 0.2+ first, and these tests are not yet automated as on non-web platforms. To run these tests yourself, click here! |
This is the repository I keep for prospective employers to look at project Euler code that I have written.
This is useful because it has defined problems and answers such that you can compare answers with other people.
All solutions are tested against multiple operating systems and
language/compiler versions. For more information, see
.github/workflows/
The repo is divided into sections for each language. The top-level Makefile will direct recipes using prefixes
make c_*
will go to the c Makefilemake cp_*
will go to the csharp Makefilemake cs_*
will go to the csharp Makefilemake docs_*
will go to the docs Makefilemake ja_*
will go to the java Makefilemake js_*
will go to the javascript Makefilemake lu_*
will go to the lua Makefilemake py_*
will go to the python Makefilemake rs_*
will go to the rust Makefile- Any make recipes supported by Sphinx will be redirected to the docs Makefile
- All other recipes will be run for all languages
For more information, please see the README documents in each section.