diff --git a/18/1.py b/18/1.py new file mode 100644 index 0000000..bc6bdff --- /dev/null +++ b/18/1.py @@ -0,0 +1,5 @@ +n = int(input()) + +with open('./input.txt', 'r') as f: + arr = [f.readline().split() for i in range(n)] + steps = (n - 1) * 2 \ No newline at end of file diff --git a/18/input.txt b/18/input.txt new file mode 100644 index 0000000..fabc2f5 --- /dev/null +++ b/18/input.txt @@ -0,0 +1,4 @@ +1 8 8 4 +10 1 1 3 +1 3 12 2 +2 3 5 6 \ No newline at end of file