https://github.com/catap/scala-euler
Another solver for Project Euler
https://github.com/catap/scala-euler
Last synced: 3 months ago
JSON representation
Another solver for Project Euler
- Host: GitHub
- URL: https://github.com/catap/scala-euler
- Owner: catap
- License: unlicense
- Created: 2015-02-20T21:35:21.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-02-28T07:31:22.000Z (over 11 years ago)
- Last Synced: 2025-03-17T12:55:05.934Z (over 1 year ago)
- Language: Scala
- Homepage:
- Size: 242 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scala-euler
Another solver for Project Euler on scala.
Just clone it and rub by `sbt run` for solve all solved problem.
Meanwhile you can specified a problem number by `sbt "run 1 7 6"`.
For example:
```bash
➜ euler git:(master) sbt "run 1 7 6"
[info] Loading global plugins from /Users/catap/.sbt/0.13/plugins
[info] Loading project definition from /Users/catap/Documents/euler/project
[info] Set current project to scala-euler (in build file:/Users/catap/Documents/euler/)
[info] Running Main 1 7 6
Solved problem 1: 233168 for 10ms 294µs 394ns
Solved problem 7: 104743 for 135ms 453µs 641ns
Solved problem 6: 25164150 for 1ms 543µs 896ns
[success] Total time: 2 s, completed Feb 23, 2015 11:51:35 AM
➜ euler git:(master)
```