fork(1) download
  1. #include <iostream>
  2. #include <regex>
  3. #include <ctime>
  4. using namespace std;
  5.  
  6. int main() {
  7. clock_t t = clock();
  8. regex_match("", regex(".{40000}"));
  9. cout << double(clock() - t) / CLOCKS_PER_SEC << endl;
  10. }
Success #stdin #stdout 0.02s 3552KB
stdin
Standard input is empty
stdout
0.02222