G
gjin
Hi there,
I met a problem, which I could not solve. I used it as the
following:
list<long> L
for (long i=1;i<=479250; i++)
L.push_back(i);
L.size(); // this gives 479250;
L.sort();
L.size(); // Here it gives 20498?
Why the elements in the list are removed??? I could not understand it
Really appreciate your help!
ucb
I met a problem, which I could not solve. I used it as the
following:
list<long> L
for (long i=1;i<=479250; i++)
L.push_back(i);
L.size(); // this gives 479250;
L.sort();
L.size(); // Here it gives 20498?
Why the elements in the list are removed??? I could not understand it
Really appreciate your help!
ucb