cleaning; removed debugging
This commit is contained in:
parent
d64116d255
commit
396d965e73
4 changed files with 0 additions and 3001 deletions
1000
rust/fourthfree/log
1000
rust/fourthfree/log
File diff suppressed because it is too large
Load diff
1000
rust/fourthfree/log2
1000
rust/fourthfree/log2
File diff suppressed because it is too large
Load diff
1000
rust/fourthfree/log3
1000
rust/fourthfree/log3
File diff suppressed because it is too large
Load diff
|
|
@ -8,7 +8,6 @@ fn is_fourth_free(x: &u64) -> bool {
|
||||||
let mut fourth = i * i * i * i;
|
let mut fourth = i * i * i * i;
|
||||||
while fourth <= *x {
|
while fourth <= *x {
|
||||||
if x % fourth == 0 {
|
if x % fourth == 0 {
|
||||||
println!("{}", x);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
i += 1;
|
i += 1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue