Update main.rs
This commit is contained in:
parent
533c13876f
commit
aceac2b4a6
|
@ -15,7 +15,7 @@ fn main()
|
|||
fn test(input: BigUint) -> u8 {
|
||||
let mut n = factorize(input);
|
||||
let mut counter = 1;
|
||||
while (n.to_str_radix(10).chars().count() > 0) {
|
||||
while (n.to_str_radix(10).chars().count() > 1) {
|
||||
n = factorize(n);
|
||||
println!("n: {:?}", n);
|
||||
counter += 1;
|
||||
|
|
Loading…
Reference in New Issue