Esempio n. 1
0
        protected override string solvePartTwo()
        {
            paintRobot robot = new paintRobot(Input.toLongArray(","), paintColor.white);

            robot.run();
            return(robot.printPaintGrid());
        }
Esempio n. 2
0
        protected override string solvePartOne()
        {
            paintRobot robot = new paintRobot(Input.toLongArray(","), paintColor.black);

            robot.run();
            return(robot.numberOfPaintedTiles().ToString());
        }