Esempio n. 1
0
 long ExecIntCode(IntCodeMachine icm, int noun, int verb)
 {
     icm.Reset();
     icm.memory[1] = noun;
     icm.memory[2] = verb;
     icm.Run();
     return(icm.memory[0]);
 }