8,7,8,10,4,2,1 int a []={};
Vector
Sort (what exactly do v.begin (), v.e nd ());
//int size=unique (what exactly do v.begin (), v.e nd ()) - what exactly do v.begin ();
//cout & lt;
{
Cout & lt;
In a set or so:
8,7,8,10,2,2,2 int a []={};
Vector
Sort (what exactly do v.begin (), v.e nd ());
//int size=unique (what exactly do v.begin (), v.e nd ()) - what exactly do v.begin ();
//cout & lt;
{
Cout & lt;
Pray god give directions!!!!!!
CodePudding user response:
Vector constructor, sort function, unique function, ats function, the parameter is used to,CodePudding user response:
You can not use VECTOR, direct use of array a sort and the unique function canSpecific content, we can see this article:
http://blog.csdn.net/tomorrowtodie/article/details/51907471