예제 #1
0
 public Amplifier(Queue <int> inputs, List <long> instructions)
 {
     Inputs    = inputs;
     PC        = new IntCodeComputerLooper(instructions);
     PC.Inputs = inputs;
 }
예제 #2
0
 public Robot(List <long> instructions)
 {
     cpu = new IntCodeComputerLooper(instructions);
 }