예제 #1
0
        public Solution(Input.InputMode inputMode, string input)
        {
            var startProg = Input.GetInputLines(inputMode, input, new char[] { ',' }).ToArray();
            var executor  = new Executor(startProg);

            program = executor.startProgram;
        }
예제 #2
0
파일: Solution.cs 프로젝트: genveir/Advent
 public Bot(Coordinate coordinate, OpCode.Program program, bool atTarget = false)
 {
     this.coordinate = coordinate;
     this.program    = program;
     this.AtTarget   = atTarget;
 }