Remove unused method CountIdsInRange
This commit is contained in:
@@ -70,11 +70,6 @@ public class Day05 : IPuzzleSolver<long>
|
||||
return range.from <= id && range.to >= id;
|
||||
}
|
||||
|
||||
private long CountIdsInRange(long from, long to)
|
||||
{
|
||||
return to - from + 1;
|
||||
}
|
||||
|
||||
private long SumIdsInRanges(IEnumerable<Range> ranges)
|
||||
{
|
||||
var sumFreshIds = 0L;
|
||||
|
||||
Reference in New Issue
Block a user