Day03 p1
Fix. Resetting the number strings Signed-off-by: Eoghan Conlon <git@eoghanconlon.ie>
This commit is contained in:
parent
08e3b9b27c
commit
44c6eb27e5
1 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,13 @@ public class Day03 extends Input {
|
|||
rValue += (num1 * num2);
|
||||
num = 1;
|
||||
pattern_cnt = 0;
|
||||
num1_s = "";
|
||||
num2_s = "";
|
||||
} else {
|
||||
num = 1;
|
||||
pattern_cnt = 0;
|
||||
num1_s = "";
|
||||
num2_s = "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue