sort的cmp函数

sort的cmp函数
只能写return a>b;或者return a<b;

 

posted @ 2019-08-12 20:06  WeiAR  阅读(213)  评论(0编辑  收藏  举报