This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
000100 IDENTIFICATION DIVISION. | |
000200 PROGRAM-ID. NUMBERS. | |
000300 AUTHOR. TEEBEE. | |
000400**************************************************************** | |
000500* Simply transfer the present program to your favorite * | |
000600* mainframe computer, compile it, link it and submit some * | |
000700* appropriate JCL to run it. Its output tells the answer. * | |
000800**************************************************************** | |
000900 ENVIRONMENT DIVISION. | |
001000 CONFIGURATION SECTION. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pewter scooter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <functional> | |
#include <algorithm> | |
#include <parallel/algorithm> | |
#include <vector> | |
#include <omp.h> | |
typedef std::vector<int>::iterator itr; | |
double execute_and_get_time(void (*sortingFunction)(itr a, itr b), std::vector<int> v) { |