Remove unused method CountIdsInRange
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user