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