euler/python/e067.py

12 lines
290 B
Python
Raw Normal View History

2019-07-15 05:58:22 +02:00
from e018 import find_greatest_path_sum_in_triangle_string
def euler_067():
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()))