Commit 0f434a50 authored by Taddeus Kroes's avatar Taddeus Kroes

81: Removed useless width/height check.

parent dbe98c28
......@@ -6,9 +6,6 @@ m = array([l.split(',') for l in open('matrix.txt', 'r').readlines()],
def add(x, y):
global m
h, w = m.shape
if x == w or y == h: return
p = []
if x: p.append(m[y, x - 1])
if y: p.append(m[y - 1, x])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment