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