public static void Main(string[] args)
 {
     var solver = new BatchSystemSolver();
     var answer = solver.solve(new int[]{400, 100, 100, 100}, new string[]{"Danny Messer", "Stella Bonasera", "Stella Bonasera", "Mac Taylor"});
     printAnswer(answer);
     answer = solver.solve(new int[]{ 200, 200, 200 }, new string[]{ "Gil", "Sarah", "Warrick" });
     printAnswer(answer);
     answer = solver.solve(new int[]{ 100, 200, 50 }, new string[]{ "Horatio Caine", "horatio caine", "YEAAAAAAH" });
     printAnswer(answer);
 }
Exemple #2
0
        public static void Main(string[] args)
        {
            var solver = new BatchSystemSolver();
            var answer = solver.solve(new int[] { 400, 100, 100, 100 }, new string[] { "Danny Messer", "Stella Bonasera", "Stella Bonasera", "Mac Taylor" });

            printAnswer(answer);
            answer = solver.solve(new int[] { 200, 200, 200 }, new string[] { "Gil", "Sarah", "Warrick" });
            printAnswer(answer);
            answer = solver.solve(new int[] { 100, 200, 50 }, new string[] { "Horatio Caine", "horatio caine", "YEAAAAAAH" });
            printAnswer(answer);
        }