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