2019-07-15 05:58:22 +02:00
|
|
|
from e018 import find_greatest_path_sum_in_triangle_string
|
|
|
|
|
|
|
|
|
|
|
|
def euler_067():
|
2021-04-22 21:17:19 +02:00
|
|
|
with open("../txt/e067.txt") as f:
|
2019-07-15 05:58:22 +02:00
|
|
|
return find_greatest_path_sum_in_triangle_string(f.read())
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
assert(euler_067() == 7273)
|
|
|
|
print("e067.py: {}".format(euler_067()))
|