19 lines
338 B
Python
19 lines
338 B
Python
text: str = open("input.txt", "r").read()
|
|
|
|
_value: int = 1
|
|
|
|
lines = text.splitlines()
|
|
|
|
times = [46857582]
|
|
distances = [208141212571410]
|
|
|
|
for start in range(0, len(times)):
|
|
distance = distances[start]
|
|
time = times[start]
|
|
value = 0
|
|
for i in range(0, time):
|
|
if ((time - i) * i > distance):
|
|
value += 1
|
|
_value *= value
|
|
|
|
print(_value) |