Skip to content

rust-nairobi/project-euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler

Build Status

A repository with solutions for Project Euler problems implemented in the Rust programming language.

How to Contribute

  1. Fork this repo.
  2. Create a binary in src/bin corresponding to your the euler problem number e.g 100.rs
  3. Implement your solution.
  4. Write some documentation.
  5. Write test(s) for your solution.
  6. Submit a pull request.
  7. Voila!

Also

  • The code you contribute is public domain.
  • Don't be afraid of comments: the code is going to be written once, read hundreds of times, and maintained well past when you submit it.
  • Keep your code as simple as possible.
  • Please avoid compiler warnings.
  • Rust Clippy is a great tool for linting your code.
  • Use the cargo run --bin {your-solution-number} to run your solution e.g cargo run --bin 1.
  • Use the cargo test --bin {your-solution-number} to test your solution e.g. cargo test --bin 1.

Not sure how to help?

  • Improve an existing solution (increase readability, performance, etc.).
  • Add tests.

About

Project Euler Solutions implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages