摘要:
Sorting is not an out-dated topic. My own in-place qsort got TLE... so, I simply called stl::sort() to get AC.This thread explains everything:http://stackoverflow.com/questions/5038895/does-stdsort-implement-quicksortBasic qsort has a worst case of O(n^2) and could result in too deep stack. The late 阅读全文
posted @ 2014-02-09 16:37
Tonix
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号