We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40744c8 commit 75b9b9bCopy full SHA for 75b9b9b
1 file changed
aoc/2025/01/01.vn.py
@@ -4,11 +4,10 @@
4
5
with open("input.txt", "r") as f:
6
inp = f.readlines()
7
-
8
9
res1, res2 = 0, 0
10
pointer = 50
11
-n = 0
+
12
for row in inp:
13
row = row.strip()
14
sens = 1 if row[0] == "R" else -1
0 commit comments