📅  最后修改于: 2022-03-11 14:44:58.068000             🧑  作者: Mango
代码示例3
//lambda function for sorting vector ascending
sort(vec.begin(),vec.end(),[](int &a, int &b){
return a &a, vector &b){
return a[0]