@ -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 distances.count { _1 > record }
p (1...time).count {|hold| (time - hold) * hold > record}