generated from janezicmatej/aoc-template
chore: reorder lib root
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
#![feature(pattern)]
|
#![feature(pattern)]
|
||||||
|
|
||||||
use std::mem::swap;
|
|
||||||
|
|
||||||
pub mod parsers;
|
pub mod parsers;
|
||||||
pub mod template;
|
pub mod template;
|
||||||
|
|
||||||
|
use std::mem::swap;
|
||||||
|
|
||||||
pub fn lcm(first: usize, second: usize) -> usize {
|
pub fn lcm(first: usize, second: usize) -> usize {
|
||||||
first * second / gcd(first, second)
|
first * second / gcd(first, second)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user