use crate::Solution;
problem!(Problem0071, 71, "Ordered Fractions");
impl Solution for Problem0071 {
fn solve(&self) -> String {
const MAX: u32 = 1_000_000;
const C: u32 = 3;
const D: u32 = 7;
let mut b = MAX;
while (C * b - 1) % D != 0 {
b -= 1;
}
let a = (C * b - 1) / D;
a.to_string()
}
}