aboutsummaryrefslogtreecommitdiff
path: root/2025/07/a.py
diff options
context:
space:
mode:
Diffstat (limited to '2025/07/a.py')
-rw-r--r--2025/07/a.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/2025/07/a.py b/2025/07/a.py
index 0e13b75..53ff68c 100644
--- a/2025/07/a.py
+++ b/2025/07/a.py
@@ -2,9 +2,9 @@ import fileinput
2 2
3with fileinput.input() as lines: 3with 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')]
6 5
7s = 0 6s = 0
7pos = [rows[0].find('S')]
8for row in rows[1:]: 8for row in rows[1:]:
9 newpos = set() 9 newpos = set()
10 for p in pos: 10 for p in pos:

Generated with cgit - Back to sebastiano.tronto.net