Skip to content

cpea2506/project_euler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Euler

Another place for me to practice solving problems and training my Rust skill.

Requirement:

  • Rustc >= 1.74

Usage:

Run main solution for problem

cargo euler <id>

<id>: problem's id

Run test for problem

cargo euler test <id>

<id>: problem's id

Note:

The id of problem according to problem's id on Project Euler

For example:

  • cargo euler 01 to see solution for problem 1
  • cargo euler 02 to see solution for problem 2
  • cargo euler test 05 to see test for problem 5