各位大佬,sort函数中的第三个参数比较函数的定义如果写在sort函数的括号里应该怎么写?我看到一个是sort(a.begin(),a.end(),[ ](int& a,int& b)->bool{return a>b;}),C++求求各位大佬了