[CLEANUP] Unused code

This commit is contained in:
2023-12-06 19:16:15 +01:00
parent 95da8147ec
commit fcc6bb39d0
2 changed files with 0 additions and 9 deletions

View File

@@ -23,11 +23,6 @@ impl Day6 {
}
}
fn calc_dist(time: u64, pressed: u64) -> u64 {
if pressed > time { return 0 }
return (time - pressed) * pressed
}
fn calc_ways_to_beat(time: u64, dist: u64) -> u64 {
// y = (t - x) * x = tx - x^2