Skip to content

Commit 09c2df1

Browse files
Update docs on Mon Dec 1 19:15:48 UTC 2025
1 parent be51198 commit 09c2df1

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

2025/1/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ <h2 id="problem-name">Secret Entrance</h2>
302302
[ProblemName(&quot;Secret Entrance&quot;)]
303303
class Solution : Solver {
304304

305-
public object PartOne(string input) =&gt; Dial(Parse(input)).Count(x =&gt; x == 0);
305+
public object PartOne(string input) =&gt; Dial(Parse1(input)).Count(x =&gt; x == 0);
306306
public object PartTwo(string input) =&gt; Dial(Parse2(input)).Count(x =&gt; x == 0);
307307

308308
IEnumerable&lt;int&gt; Dial(IEnumerable&lt;int&gt; rotations) {
@@ -313,7 +313,7 @@ <h2 id="problem-name">Secret Entrance</h2>
313313
}
314314
}
315315

316-
IEnumerable&lt;int&gt; Parse(string input) =&gt;
316+
IEnumerable&lt;int&gt; Parse1(string input) =&gt;
317317
from line in input.Split(&quot;\n&quot;)
318318
let d = line[0] == &#039;R&#039; ? 1 : -1
319319
let a = int.Parse(line.Substring(1))
@@ -325,7 +325,8 @@ <h2 id="problem-name">Secret Entrance</h2>
325325
let a = int.Parse(line.Substring(1))
326326
from i in Enumerable.Range(0, a)
327327
select d;
328-
}</code></pre></div>
328+
}
329+
</code></pre></div>
329330
<div id="code-location"> <p>Please ☆ my <a href="https://github.com/encse/adventofcode/">repo</a> if you like it!</p></div>
330331
</div>
331332

0 commit comments

Comments
 (0)