标签:turn color div int sort bool code style pre
bool cmp(int a, int b){ return a>b; //由大到小 降序 } bool cmp(int a, int b){ return a<b; //由小到大 升序 }sort(s,s+n,cmp);
sort的cmp
原文地址:https://www.cnblogs.com/shiliuxinya/p/12194566.html