diff options
Diffstat (limited to '2025/07/b.py')
| -rw-r--r-- | 2025/07/b.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/2025/07/b.py b/2025/07/b.py index 41c0db0..4457654 100644 --- a/2025/07/b.py +++ b/2025/07/b.py | |||
| @@ -2,8 +2,8 @@ import fileinput | |||
| 2 | 2 | ||
| 3 | with fileinput.input() as lines: | 3 | with fileinput.input() as lines: |
| 4 | rows = [line[:-1] for line in lines] | 4 | rows = [line[:-1] for line in lines] |
| 5 | pos = {rows[0].find('S'): 1} | ||
| 6 | 5 | ||
| 6 | pos = {rows[0].find('S'): 1} | ||
| 7 | for row in rows[1:]: | 7 | for row in rows[1:]: |
| 8 | newpos = {} | 8 | newpos = {} |
| 9 | for p, w in pos.items(): | 9 | for p, w in pos.items(): |
