对一个列表list而言,进行排序是很简单的。正序排序(从小到大)用 list.sort()
Can someone explain why the following doesn\'t work? int main() // Tried on several recent C++ \'03 compilers.