{"id":19953794,"url":"https://github.com/livinthelookingglass/euler","last_synced_at":"2025-10-04T10:52:53.107Z","repository":{"id":44070243,"uuid":"207036322","full_name":"LivInTheLookingGlass/Euler","owner":"LivInTheLookingGlass","description":"My solutions to Project Euler problems in multiple languages","archived":false,"fork":false,"pushed_at":"2024-10-23T06:02:46.000Z","size":6201,"stargazers_count":1,"open_issues_count":13,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T00:34:49.826Z","etag":null,"topics":["demonstration-project","math","project-euler-c-solutions","project-euler-cpp-solutions","project-euler-csharp-solutions","project-euler-fortran-solutions","project-euler-java-solutions","project-euler-javascript-solutions","project-euler-lua-solutions","project-euler-python-solutions","project-euler-rust-solutions","project-euler-solutions"],"latest_commit_sha":null,"homepage":"https://euler.oliviaappleton.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LivInTheLookingGlass.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-07T23:18:21.000Z","updated_at":"2024-10-23T06:02:50.000Z","dependencies_parsed_at":"2024-07-19T00:56:27.259Z","dependency_job_id":"9e9b2921-cac2-4e9c-b3b8-8b175e68c3da","html_url":"https://github.com/LivInTheLookingGlass/Euler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LivInTheLookingGlass%2FEuler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LivInTheLookingGlass%2FEuler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LivInTheLookingGlass%2FEuler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LivInTheLookingGlass%2FEuler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LivInTheLookingGlass","download_url":"https://codeload.github.com/LivInTheLookingGlass/Euler/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241382597,"owners_count":19953965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["demonstration-project","math","project-euler-c-solutions","project-euler-cpp-solutions","project-euler-csharp-solutions","project-euler-fortran-solutions","project-euler-java-solutions","project-euler-javascript-solutions","project-euler-lua-solutions","project-euler-python-solutions","project-euler-rust-solutions","project-euler-solutions"],"created_at":"2024-11-13T01:17:46.611Z","updated_at":"2025-10-04T10:52:48.067Z","avatar_url":"https://github.com/LivInTheLookingGlass.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Olivia's Project Euler Solutions\n================================\n\n.. |Ci| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/c.yml?logo=github\u0026label=C%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/c.yml\n.. |C-lint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/c-lint.yml?logo=github\u0026label=Linting\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/c-lint.yml\n.. |Cpi| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/cplusplus.yml?logo=github\u0026label=Cpp%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/cplusplus.yml\n.. |Cp-lint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/cplusplus-lint.yml?logo=github\u0026label=Linting\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/cplusplus-lint.yml\n.. |C#i| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/csharp.yml?logo=github\u0026label=C%23%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/csharp.yml\n.. |C#-lint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/csharp-lint.yml?logo=github\u0026label=Linting\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/csharp-lint.yml\n.. |Fri| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/fortran.yml?logo=github\u0026label=Fr%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/fortran.yml\n.. |Javai| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/java.yml?logo=github\u0026label=Java%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/java.yml\n.. |Java-lint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/java-lint.yml?logo=github\u0026label=Linting\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/java-lint.yml\n.. |JavaScript| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/javascript.yml?logo=github\u0026label=Js%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/javascript.yml\n.. |ESLint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/eslint.yml?logo=github\u0026label=ESLint\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/eslint.yml\n.. |Luai| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/lua.yml?logo=github\u0026label=Lua%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/lua.yml\n.. |LuaCheck| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/lua-lint.yml?logo=github\u0026label=LuaCheck\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/lua-lint.yml\n.. |Python| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/python.yml?logo=github\u0026label=Py%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/python.yml\n.. |PythonLint| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/python-lint.yml?logo=github\u0026label=Linting\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/python-lint.yml\n.. |Rust| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/rust.yml?logo=github\u0026label=Rs%20Tests\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/rust.yml\n.. |RustClippy| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/rust-clippy.yml?logo=github\u0026label=Clippy\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/rust-clippy.yml\n.. |CodeQL| image:: https://img.shields.io/github/actions/workflow/status/LivInTheLookingGlass/Euler/codeql.yml?logo=github\u0026label=CodeQL\n   :target: https://github.com/LivInTheLookingGlass/Euler/actions/workflows/codeql.yml\n.. |C-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=C\u0026logo=codecov\u0026label=C%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=C\n.. |Cp-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Cpp\u0026logo=codecov\u0026label=Cpp%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Cpp\n.. |Cs-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Csharp\u0026logo=codecov\u0026label=C%23%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Csharp\n.. |Ja-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Java\u0026logo=codecov\u0026label=Java%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Java\n.. |Js-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=JavaScript\u0026logo=codecov\u0026label=Js%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=JavaScript\n.. |Lu-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Lua\u0026logo=codecov\u0026label=Lu%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Lua\n.. |Py-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Python\u0026logo=codecov\u0026label=Py%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Python\n.. |Rs-Cov| image:: https://img.shields.io/codecov/c/github/LivInTheLookingGlass/Euler?flag=Rust\u0026logo=codecov\u0026label=Rs%20Cov\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler?flags%5B0%5D=Rust\n.. |br| raw:: html\n\n  \u003cbr/\u003e\n\n.. |gcc| replace:: ``gcc``\n.. |clang| replace:: ``clang``\n.. |flang| replace:: ``flang``\n.. |ifx| replace:: ``ifx``, \u0026 ``ifort``\n.. |msvc| replace:: ``msvc``\n.. |nvf| replace:: ``nvfortran``\n.. |pcc| replace:: ``pcc``\n.. |tcc| replace:: ``tcc``\n\n.. |nbsp| unicode:: \\u200B\n   :trim:\n\n.. table::\n   :class: datatable\n\n   +------------+----------------------------+--------+-------------------+\n   | Language   | Version                    | Solved | Status            |\n   +============+============================+========+===================+\n   | C          | C99+ in: |clang|, |br|     | 25     | |Ci| |br|         |\n   |            | |gcc|, |pcc|, \u0026 |tcc| |br| |        | |C-Cov| |br|      |\n   |            | C11+ in: |msvc| [1]_       |        | |CodeQL| |br|     |\n   |            | |br| Browser [2]_          |        | |C-lint|          |\n   +------------+----------------------------+--------+-------------------+\n   | C++        | C++98+ in: |br| |clang|, \u0026 | 22     | |Cpi| |br|        |\n   |            | |gcc| |br|                 |        | |Cp-Cov| |br|     |\n   |            | C++14+ in: |msvc| [1]_     |        | |CodeQL| |br|     |\n   |            | |br| Browser [3]_          |        | |Cp-lint|         |\n   +------------+----------------------------+--------+-------------------+\n   | C |nbsp| # | .NET 2+                    | 22     | |C#i| |br|        |\n   |            |                            |        | |Cs-Cov| |br|     |\n   |            |                            |        | |CodeQL| |br|     |\n   |            |                            |        | |C#-lint|         |\n   +------------+----------------------------+--------+-------------------+\n   | Fortran    | Fortran 95+ in |gcc|, |br| | 22     | |Fri|             |\n   |            | |flang|, |nvf|, |br| |ifx| |        |                   |\n   +------------+----------------------------+--------+-------------------+\n   | Java       | Java 8+ in Corretto, |br|  | 22     | |Javai| |br|      |\n   |            | Dragonwell, Liberica, |br| |        | |Ja-Cov| |br|     |\n   |            | Microsoft, Oracle, |br|    |        | |CodeQL| |br|     |\n   |            | Semeru, Temurin, \u0026 Zulu    |        | |Java-lint|       |\n   +------------+----------------------------+--------+-------------------+\n   | JavaScript | Node 12+ |br|              | 34     | |JavaScript| |br| |\n   |            | Bun 1.0+ |br|              |        | |Js-Cov| |br|     |\n   |            | Browser [#]_               |        | |CodeQL| |br|     |\n   |            |                            |        | |ESLint|          |\n   +------------+----------------------------+--------+-------------------+\n   | Lua        | PUC-Rio Lua 5+ [#]_        | 23     | |Luai| |br|       |\n   |            |                            |        | |Lu-Cov| |br|     |\n   |            |                            |        | |LuaCheck|        |\n   +------------+----------------------------+--------+-------------------+\n   | Python     | CPython 3.6+ |br|          | 86     | |Python| |br|     |\n   |            | Pypy 3.6+ |br|             |        | |Py-Cov| |br|     |\n   |            | GraalPy 23.1+ |br|         |        | |CodeQL| |br|     |\n   |            | Browser [#]_               |        | |PythonLint|      |\n   +------------+----------------------------+--------+-------------------+\n   | Rust       | Rust 1.69+ |br|            | 44     | |Rust| |br|       |\n   |            | Browser [#]_               |        | |Rs-Cov| |br|     |\n   |            |                            |        | |RustClippy|      |\n   +------------+----------------------------+--------+-------------------+\n\n.. |test-c-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-c.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-cp-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-cp.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-cs-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-cs.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-ja-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-ja.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-js-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-js.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-lu-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-lu.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-py-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-py.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. |test-rs-link| raw:: html\n\n   \u003ca href=\"https://euler.oliviaappleton.com/_static/test-rs.html\" target=\"_blank\"\u003eclick here!\u003c/a\u003e\n\n.. [1] This is the earliest standard the MSVC explicitly supports.\n.. [2] While these solutions do run in most browsers, they need to be bundled with Emscripten first,\n   and these tests not yet automated as in |clang| and |gcc|. To run these tests yourself, |test-c-link|\n   Note that this is an in-progress feature, and some solutions do not work under WebAssembly\n.. [3] While these solutions do run in most browsers, they need to be bundled with Emscripten first,\n   and these tests not yet automated as in |clang| and |gcc|. To run these tests yourself, |test-cp-link|\n   Note that this is an in-progress feature, and some solutions do not work under WebAssembly\n.. [#] While these solutions do run in most browsers, they need to be bundled with WebPack 5.93+ \u0026 Babel 7.25+ first,\n   and these tests not yet automated as in Nodejs and Bun. To run these tests yourself, |test-js-link|\n.. [#] Mostly due to difficulty testing against older versions\n.. [#] While these solutions do run in most browsers, they need to be bundled with Pyodide 0.26.2+ first, and these\n   tests are not yet automated as in CPython and pypy. To run these tests yourself, |test-py-link|\n.. [#] While these solutions do run in most browsers, they need to be bundled with wasm-pack 0.2+ first, and these\n   tests are not yet automated as on non-web platforms. To run these tests yourself, |test-rs-link|\n.. .. [#] (This target is not yet complete.) While these solutions do run in most browsers, they need to be bundled with DotNetAnywhere first,\n..    and these tests not yet automated as in mainline .NET. To run these tests yourself, |test-cs-link|\n.. .. [#] (This target is not yet complete.) While these solutions do run in most browsers, they need to be bundled with CheerpJ first,\n..    and these tests not yet automated as in mainline Java. To run these tests yourself, |test-ja-link|\n.. .. [#] (This target is not yet complete.) While these solutions do run in most browsers, they need to be bundled with Fengari-web first,\n..    and these tests not yet automated as in mainline Lua. To run these tests yourself, |test-lu-link|\n\nCoverage\n--------\n.. image:: https://codecov.io/github/LivInTheLookingGlass/Euler/graphs/icicle.svg?token=6GHBNILEHG\n   :target: https://app.codecov.io/github/LivInTheLookingGlass/Euler\n\nThis is the repository I keep for prospective employers to look at\nproject Euler code that I have written.\n\nThis is useful because it has defined problems and answers such that you\ncan compare answers with other people.\n\nAll solutions are tested against multiple operating systems and\nlanguage/compiler versions. For more information, see\n``.github/workflows/``\n\nThis is NOT meant to help others on Project Euler problems\n----------------------------------------------------------\n\nIf you are working on Project Euler problems, DO NOT use this as a source\n-------------------------------------------------------------------------\n\nThe repo is divided into sections for each language. The top-level\nMakefile will direct recipes using prefixes\n\n-  ``make c_*`` will go to the c Makefile\n-  ``make cp_*`` will go to the csharp Makefile\n-  ``make cs_*`` will go to the csharp Makefile\n-  ``make docs_*`` will go to the docs Makefile\n-  ``make fr_*`` will go to the fortran Makefile\n-  ``make ja_*`` will go to the java Makefile\n-  ``make js_*`` will go to the javascript Makefile\n-  ``make lu_*`` will go to the lua Makefile\n-  ``make py_*`` will go to the python Makefile\n-  ``make rs_*`` will go to the rust Makefile\n-  Any make recipes supported by Sphinx will be redirected to the docs Makefile\n-  All other recipes will be run for all languages\n\nFor more information, please see the README documents in each section.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivinthelookingglass%2Feuler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flivinthelookingglass%2Feuler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flivinthelookingglass%2Feuler/lists"}