sort(test0.begin(), test0.end(), [](vector<int> a, vector<int> b){return a[0] < b[0];});
vector<vector<int>> test0 = {
{3, 7},
{2, 4},
{10, 30}
};
sort(test0.begin(), test0.end(), [](vector<int> a, vector<int> b){return a[0] < b[0];});

浙公网安备 33010602011771号