[gcj] CodeJam 2020 1A Pattern Matching Java

2020-04-22 Thread Berend
Hi, I'm having problems with this problem, my code is: import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws FileNotFoundException { // File file = new File("/Users/berendjanlange/GitDrive/Hashcode/CodeJamQualification/src

[gcj] Practise Round Code Jam 2020 1A Pattern Matching Java

2020-04-22 Thread Berend
I'm getting runtime errors and don't know why? Whats my error? As there are no test tests without asterixes this should work I figured. import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws FileNotFoundException { Scanner i