🚧 aaaaaaaaaaaa

This commit is contained in:
Steph 2022-12-01 21:02:00 +01:00
parent dc001447d6
commit af970447ac

View File

@ -48,12 +48,12 @@ static void PartTwo() {
var clone = new List<string>(lines);
clone[i] = instruction == "jmp" ? $"nop {intval}" : $"jmp {intval}";
try {
var result = DoTheThing(clone);
Console.WriteLine($"Found that instruction {i} fixes the loop, accumilator end up being {result}.");
return;
} catch (Exception e) { }
} catch { }
}
}