Skip to content

Farzy/project-euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler problems

See https://projecteuler.net/

Installation

Rust and Cargo toolchain needed.

Usage

List all solved problems:

cargo run -- -h

Solve Euler 2:

cargo run -- euler_2

Execution sample

Benchmarking solutions

In order to benchmark solutions I added support for the excellent Criterion module.

Use cargo bench to run all benchmarks.

Criterion uses statistical analysis and compares each run to the previous one in order to detect improvement or regression. Graphs are generated in target/criterion.

Use open target/criterion/report/index.html to show all statistics:

Criterion sample

Authors

License

All code is published under the Apache 2.0 License.

Releases

No releases published

Packages

No packages published

Languages