Example #1
0
def run():
    print max_path(P)
Example #2
0
File: p18.py Project: cadizm/euler
def run():
    print max_path(P)
Example #3
0
def run():
    data_dir = '{0}/../data'.format(os.path.dirname(__file__))
    P = open(os.path.join(data_dir, 'triangle.txt'), 'r').read()
    print max_path(P)
Example #4
0
File: p67.py Project: cadizm/euler
def run():
    data_dir = '{0}/../data'.format(os.path.dirname(__file__))
    P = open(os.path.join(data_dir, 'triangle.txt'), 'r').read()
    print max_path(P)