@ -11,5 +11,4 @@ p times.zip(records)
# part two
time = times.join.to_i
record = records.join.to_i
distances = (1...time).map {|hold| (time - hold) * hold }
p (1...time).count {|hold| (time - hold) * hold > record}
p distances.count { _1 > record }