Пример #1
0
        public int Solution(string input)
        {
            List <IBotInstruction> botsInstructions = botsInstructionsRepository.GetBotsInstructions(input);
            int botNumberWhichComparesChips         = handChips.FirstThreeOutputsProduct(botsInstructions);

            return(botNumberWhichComparesChips);
        }
Пример #2
0
        public int Solution(string input)
        {
            List <IBotInstruction> botsInstructions = botsInstructionsRepository.GetBotsInstructions(input);
            int numberOfBotWhichComparesChips       = handChips.NumberOfBotWhichComparesChips(
                botsInstructions,
                lowerValueChip,
                higherValueChip
                );

            return(numberOfBotWhichComparesChips);
        }