public override string Solve() { var program = Parser.GetData().Split(',').Select(long.Parse).ToList(); var robot = new PaintingRobot(program, 1); robot.Go(); return(robot.PrintTag()); }
public virtual string Solve() { var program = Parser.GetData().Split(',').Select(long.Parse).ToList(); var robot = new PaintingRobot(program); robot.Go(); return(robot.PaintedCells.ToString()); }