fork download
  1. #include <iostream>
  2. #include <omp.h>
  3. using namespace std;
  4.  
  5. int main(){
  6. // double start_time = omp_get_wtime();
  7. cout<<"Hello"<<endl;
  8. // double end_time = omp_get_wtime();
  9. // cout<<"Diff: "<<end_time-start_time<<endl;
  10. return 0;
  11. }
  12.  
  13. //g++ -fopenmp test.cpp -o test
Success #stdin #stdout 0s 5292KB
stdin
Standard input is empty
stdout
Hello