-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApplication.cpp
More file actions
19 lines (14 loc) · 851 Bytes
/
Application.cpp
File metadata and controls
19 lines (14 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <iostream>
#include "MHA.h"
int main()
{
std::vector<int> v {3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2,
3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2,
3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2,
3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2,
3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2,
3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2, 3, -2, 1, 5, -9, 10, 3, -3, 2};
MHA::sort(std::begin(v), std::end(v));
for (auto i: v)
std::cout << i << ' ';
}