diff --git a/src/Task67 - Maximum path sum II.py b/src/Task67 - Maximum path sum II.py index 8381e34..8dcc3bc 100644 --- a/src/Task67 - Maximum path sum II.py +++ b/src/Task67 - Maximum path sum II.py @@ -1,6 +1,6 @@ #Same as task 18 -with open('67.txt') as fp: +with open('./../67.txt') as fp: data = [list(map(int, line.strip().split(' '))) for line in fp] data.reverse() diff --git a/src/task11 - Largest product in a grid.py b/src/task11 - Largest product in a grid.py index 6a77ad4..fa77b63 100644 --- a/src/task11 - Largest product in a grid.py +++ b/src/task11 - Largest product in a grid.py @@ -1,4 +1,4 @@ -with open('11.txt') as fp: +with open('./../11.txt') as fp: data = [list(map(int, line.strip().split(' '))) for line in fp] #I is y axis, J is x axis diff --git a/src/task18 - Maximum path sum I.py b/src/task18 - Maximum path sum I.py index 6a8003c..3cb0a6f 100644 --- a/src/task18 - Maximum path sum I.py +++ b/src/task18 - Maximum path sum I.py @@ -1,6 +1,6 @@ #Same as task 67 -with open('18.txt') as fp: +with open('./../18.txt') as fp: data = [list(map(int, line.strip().split(' '))) for line in fp] data.reverse() diff --git a/src/task22 - Names scores.py b/src/task22 - Names scores.py index 6665a28..2d6da8d 100644 --- a/src/task22 - Names scores.py +++ b/src/task22 - Names scores.py @@ -8,7 +8,7 @@ def wordSum(n): data =[] -with open('22.txt') as file: +with open('./../22.txt') as file: reader = csv.reader(file, delimiter=",", quotechar='"') data = list(reader)[0] diff --git a/src/task42 - Coded triangle numbers.py b/src/task42 - Coded triangle numbers.py index 296fbd7..66ef381 100644 --- a/src/task42 - Coded triangle numbers.py +++ b/src/task42 - Coded triangle numbers.py @@ -1,7 +1,7 @@ import csv import math -with open('42.txt') as file: +with open('./../42.txt') as file: reader = csv.reader(file, delimiter=",", quotechar='"') words = list(reader)[0] diff --git a/src/task59 - XOR decryption.py b/src/task59 - XOR decryption.py index ac3f3fa..ca2dabd 100644 --- a/src/task59 - XOR decryption.py +++ b/src/task59 - XOR decryption.py @@ -1,6 +1,6 @@ import csv -with open('59.txt') as file: +with open('./../59.txt') as file: reader = csv.reader(file, delimiter=",") numbers = list(reader)[0] numbers = [int(i) for i in numbers]