|
|
вернуться в форумWhen TLE 24 It is "antiquicksort" test. Use pivot differ from (bottom + top) / 2, for example, random choosed. Re: When TLE 24 maybe it's "antiquicksort" test. I use anti("antiquicksort" test) coding =) for( long i=0; i < 1e6; ++i ) swap( v[rand()%v.size()], v[rand()%v.size()] ); where 'v' is vector of string. =) Edited by author 14.01.2012 19:42 Edited by author 14.01.2012 19:42 |
|
|