Beispiel #1
0
        protected override void Solve(out string answer)
        {
            DataManipulator manipulator = new DataManipulator();
            var             response    = manipulator.DoMagic();

            answer = string.Format("The first ten digits of the sum of the given one-hundred 50-digit numbers is: {0}",
                                   string.Concat(response.Take(10).Select(a => a.digit.ToString()))
                                   );
        }