Crate reuler

source ·
Expand description

reuler provide Rust implementation for the Project Euler.

Example of library usage

You can call the solve() function to run any of the implemented solution.

use reuler;

let res = reuler::solve(1).unwrap();
println!("Solution : {res}");

Example of commandline usage

You can also call the command line reuler directly to get the result.

reuler 1

Modules

Functions

Solve the given problem and return the solution as a string.