#include
#include
#include
#include
#include
{
//数组大小看你数字长度定义
char num[30];
cout << "input number: ";
int i = 0, len = 0;
gets(num);
len = strlen(num);
vector
sort(ivec.begin(), ivec.end());
vector
while( it != ivec.end())
cout << static_cast
cout << endl;
system("pause");
return 0;
}