|
Algorithms_in_C++
1.0.0
Set of algorithms implemented in C++.
|
Median search algorithm More...
#include <algorithm>#include <iostream>#include <vector>| #define | MAX_NUM 20 |
| maximum number of values to sort from | |
| template<class X > | |
| void | comp (X x, std::vector< int > *s1, std::vector< int > *s2, std::vector< int > *s3) |
| int | main () |
Median search algorithm
| void comp | ( | X | x, |
| std::vector< int > * | s1, | ||
| std::vector< int > * | s2, | ||
| std::vector< int > * | s3 | ||
| ) |
| int main | ( | ) |
Main function