예제 #1
0
        public string Compute(string[] input)
        {
            var computer = new IntCodeComputer(5, IntCodeProgramParser.Parse(input));

            computer.RunIntcodeProgram();
            return($"{computer.LatestOutput}");
        }
예제 #2
0
        public string Compute(string[] input)
        {
            var computer = new IntCodeComputer(2, IntCodeProgramParser.Parse(input));

            computer.RunIntcodeProgram();
            return(computer.StringOutput);
        }