#include
#include
#include
#include
using namespace std;
int main()
{
vector vector1(5);
vector vector2(5);
vector vector3(10);
for (int i = 0; i < 5; ++i)
vector1[i] = 2 * i;
for (int i = 0; i < 5; ++i)
vector2[i] = 1 + 2 * i;
merge(vector1.begin(), vector1.end(), vector2.begin(), vector2.end(), vector3.begin());
inplace_merge(vector3.begin(), vector3.begin() + 5,vector3.end());
for (int i = 0; i < 10; ++i)
cout << vector3[i];
return 0;
}
/*
0123456789
*/