コード例 #1
0
        public override string Solve()
        {
            var program = Parser.GetData().Split(',').Select(long.Parse).ToList();

            var robot = new PaintingRobot(program, 1);

            robot.Go();

            return(robot.PrintTag());
        }
コード例 #2
0
        public virtual string Solve()
        {
            var program = Parser.GetData().Split(',').Select(long.Parse).ToList();

            var robot = new PaintingRobot(program);

            robot.Go();

            return(robot.PaintedCells.ToString());
        }