‹ 上一题 下一题 ›

07046. algorithm·比较器降序 未做

1000 ms 256 MB 测试点 ? STL

sort(v.begin(), v.end(), greater<int>()); 会把 排成降序。

未选择
输入
输出

            
答案