An open API service indexing awesome lists of open source software.

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

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)
```