Skip to content

Commit 95ad192

Browse files
Update docs on Mon Dec 1 18:26:32 UTC 2025
1 parent d0c8e33 commit 95ad192

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

2025/1/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,7 @@ <h2 id="problem-name">Secret Entrance</h2>
295295
</div>
296296
<div id="code-container"><pre class="hljs language-csharp"><code>namespace AdventOfCode.Y2025.Day01;
297297

298+
using System;
298299
using System.Collections.Generic;
299300
using System.Linq;
300301

@@ -307,7 +308,7 @@ <h2 id="problem-name">Secret Entrance</h2>
307308
IEnumerable&lt;int&gt; Dial(IEnumerable&lt;int&gt; rotations) {
308309
int pos = 50;
309310
foreach (var rotation in rotations) {
310-
pos = (pos + rotation + 100) % 100;
311+
pos = (pos + rotation) % 100;
311312
yield return pos;
312313
}
313314
}

0 commit comments

Comments
 (0)