add 51 WIP
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
mod primes;
|
||||
|
||||
use crate::primes::Primes;
|
||||
|
||||
type Int = i64;
|
||||
|
||||
const MIN_VALUE: Int = 10_000_000;
|
||||
const MAX_VALUE: Int = 10_010_000;
|
||||
// const MAX_VALUE: Int = 99_999_999;
|
||||
|
||||
fn main() {
|
||||
let primes = Primes::get_between(MIN_VALUE, MAX_VALUE);
|
||||
println!("{}", primes.vector[0]);
|
||||
}
|
||||
Reference in New Issue
Block a user