day03 #1
1 changed files with 36 additions and 35 deletions
|
@ -11,7 +11,7 @@ public class Day03 extends Input {
|
|||
public int part1_sample(){
|
||||
int rValue = 0;
|
||||
|
||||
String input = this.input.getSample_input().getFirst();
|
||||
for(String input : this.input.getSample_input()) {
|
||||
String pattern = "mul(";
|
||||
String num1_s = "";
|
||||
String num2_s = "";
|
||||
|
@ -52,6 +52,7 @@ public class Day03 extends Input {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return rValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue