public void ExamplePart2() { var blocked = new[] { new uint[] { 5, 8 }, new uint[] { 0, 2 }, new uint[] { 4, 7 } }; Assert.AreEqual(2, IPReader.GetCountUnblocked(blocked, 0, 9)); }
public void GetNumAllowed() { var blocked = GetBlockedIpsOfInput(); Console.Out.WriteLine(IPReader.GetCountUnblocked(blocked, 0, 4294967295)); }