Created
February 1, 2015 02:11
-
-
Save 5nyper/8ae6029e4312d3d71554 to your computer and use it in GitHub Desktop.
conversion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let mut i = 20is; | |
loop { | |
if i % 19 == 0 && i % 18 == 0 && i % 17 == 0 && i % 16 == 0 && i % 15 == 0 && i % 14 == 0 | |
&& i % 13 == 0 && i % 12 == 0 && i % 11 == 0 { | |
print!("result: {}", i); | |
break; | |
} | |
i += 20; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment