Remove unused method CountIdsInRange
This commit is contained in:
1 parent
91ea80d2e3
commit
1cd63a7188
1 file changed
-5
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user