Example #1
0
        public int GetReindeerDistance_2(int second)
        {
            var reindeer = new Day14.Reindeer
            {
                Name     = "Dancer",
                FlySpeed = 16,
                FlyTime  = 11,
                RestTime = 162
            };

            return(Day14.GetReindeerDistance(reindeer, second));
        }
Example #2
0
        public int GetReindeerDistance_1(int second)
        {
            var reindeer = new Day14.Reindeer
            {
                Name     = "Comet",
                FlySpeed = 14,
                FlyTime  = 10,
                RestTime = 127
            };

            return(Day14.GetReindeerDistance(reindeer, second));
        }