Remove unused method CountIdsInRange

This commit is contained in:
Sebastian Lindemeier 2025-12-05 07:31:48 +01:00
parent 91ea80d2e3
commit 1cd63a7188
1 changed files with 0 additions and 5 deletions

View File

@ -69,11 +69,6 @@ public class Day05 : IPuzzleSolver<long>
{ {
return range.from <= id && range.to >= id; return range.from <= id && range.to >= id;
} }
private long CountIdsInRange(long from, long to)
{
return to - from + 1;
}
private long SumIdsInRanges(IEnumerable<Range> ranges) private long SumIdsInRanges(IEnumerable<Range> ranges)
{ {