drandreasdr

Project Euler main

Apr 19th, 2015
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. #include <iostream>
  2. #include <ctime>
  3. #include "problem12.h"
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9.     clock_t begin = clock();
  10.     run();
  11.     clock_t end = clock();
  12.     double elapsed_secs = double(end-begin) / CLOCKS_PER_SEC;
  13.     cout << endl << "ELAPSED TIME: " << elapsed_secs << " s." << endl;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment