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