fork download
  1. #include <ctime>
  2. #include <iostream>
  3.  
  4.  
  5. void f(){
  6. std::cout << "Hello";
  7. }
  8.  
  9.  
  10. int main(){
  11. clock_t begin = clock();
  12. f();
  13. clock_t end = clock();
  14. std::cout << (end - begin) << '\n';
  15. }
Success #stdin #stdout 0s 3412KB
stdin
Standard input is empty
stdout
Hello20