equal
deleted
inserted
replaced
14 |
14 |
15 import java.util.regex.*; |
15 import java.util.regex.*; |
16 |
16 |
17 public class catastrophic { |
17 public class catastrophic { |
18 public static void main(String[] args) { |
18 public static void main(String[] args) { |
19 |
19 |
20 //we always run all the tests twice -> to warmup of the JVM |
20 //we always run all the tests twice -> to warmup of the JVM |
21 for (int runs = 0; runs < 2; runs++) { |
21 for (int runs = 0; runs < 2; runs++) { |
22 |
22 |
23 Pattern pattern = Pattern.compile("(a*)*b"); |
23 Pattern pattern = Pattern.compile("(a*)*b"); |
24 |
24 |