#include
#include
#include
#include
using namespace std;
int main()
{
cout<<"输入整数:";
istream_iterator begin_in(cin), end_in;
vector vect(begin_in,end_in);
sort(vect.begin(),vect.end());
ostream_iterator out(cout," ");
unique_copy(vect.begin(),vect.end(),out);
getchar();
return 0;
}
阅读(246) | 评论(0) | 转发(0) |