Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amtoine/project-euler
Some of my attempts at the online Project Euler.
https://github.com/amtoine/project-euler
event maths programming
Last synced: about 2 months ago
JSON representation
Some of my attempts at the online Project Euler.
- Host: GitHub
- URL: https://github.com/amtoine/project-euler
- Owner: amtoine
- Created: 2021-05-14T10:46:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-31T09:02:53.000Z (about 1 year ago)
- Last Synced: 2024-10-14T02:49:03.128Z (3 months ago)
- Topics: event, maths, programming
- Language: Python
- Homepage: https://projecteuler.net
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# project-euler
My solutions for the challenges of the [Project Euler](https://projecteuler.net)
Some additional resources can be found in [`res/`](res).
## the solutions
- `python` solutions are available in [`python/`](python)### generate language `README`s
one can run the following in `nushell`
```nushell
let language = "..."ls $language
| where name =~ \d
| select name
| upsert file {|it|
let file = ($it.name | parse "python/{name}" | get name.0)
$"[($file)]\(($file)\)"
}
| upsert id {|it|
$it.name | parse "python/{id}.py" | get id.0 | into int
}
| upsert problem {|it|
$"https://projecteuler.net/problem=($it.id)"
}
| reject name id
| to md --pretty
| save --force ($language | path join README.md)
```