Remove unused method CountIdsInRange
This commit is contained in:
parent
91ea80d2e3
commit
1cd63a7188
|
|
@ -70,11 +70,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)
|
||||||
{
|
{
|
||||||
var sumFreshIds = 0L;
|
var sumFreshIds = 0L;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue