Remove echos

This commit is contained in:
Daniel Flanagan 2021-12-25 00:14:38 -06:00
parent a0818ada2a
commit 82b1705bb8
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4

View file

@ -14,8 +14,6 @@ proc p1(input: Lines): uint64 =
if instructionArgs[o+4] == 26: if instructionArgs[o+4] == 26:
let (previousI, previousAddend) = cantComputeYet.pop let (previousI, previousAddend) = cantComputeYet.pop
let diff = previousAddend + instructionArgs[o+5] let diff = previousAddend + instructionArgs[o+5]
echo diff
echo previousI
if diff < 0: if diff < 0:
reversedDigits[previousI] = 9 reversedDigits[previousI] = 9
reversedDigits[i] = 9 + diff reversedDigits[i] = 9 + diff