public void Test2A() { string[] a = new string[] { "0: 3", "1: 2", "4: 4", "6: 4" }; Assert.AreEqual(10, Dec13.CalculateDelay(a)); }
public void Test1A() { string[] a = new string[] { "0: 3", "1: 2", "4: 4", "6: 4" }; Assert.AreEqual(24, Dec13.CountSeverity(a)); }
static void Main(string[] args) { string[] a = File.ReadLines("Input/Dec13.txt").ToArray(); Console.WriteLine(Dec13.CountSeverity(a)); }