fork(1) download
  1. import java.util.regex.Matcher;
  2. import java.util.regex.Pattern;
  3.  
  4. class Main
  5. {
  6. public static void main (String[] args) throws java.lang.Exception
  7. {
  8. Pattern p = Pattern.compile(".*a");
  9. Matcher m = p.matcher(new String(new char[20000]).replace("\0", "z"));
  10. m.find();
  11. }
  12. }
Success #stdin #stdout 4.6s 711680KB
stdin
Standard input is empty
stdout
Standard output is empty