mirror of
https://github.com/HenkKalkwater/aoc-2020
synced 2024-11-25 04:25:17 +00:00
Remove writeln
This commit is contained in:
parent
c138d30ea1
commit
53c5a606ee
|
@ -61,7 +61,6 @@ int part1(ref Instruction[] instrs) {
|
|||
|
||||
while(!visited.canFind(pc)) {
|
||||
Instruction curInstr = instrs[pc];
|
||||
writeln(pc, curInstr);
|
||||
visited ~= [pc];
|
||||
switch(curInstr.memomic) {
|
||||
case Memomic.NOP:
|
||||
|
@ -105,7 +104,6 @@ int part2(ref Instruction[] instrs) {
|
|||
|
||||
while(!visited.canFind(pc)) {
|
||||
Instruction curInstr = instrs[pc];
|
||||
writeln(pc, curInstr);
|
||||
visited ~= [pc];
|
||||
switch(curInstr.memomic) {
|
||||
case Memomic.NOP:
|
||||
|
|
Loading…
Reference in a new issue