C++

huruixi 2023-01-05 20:19:50 2023-04-08 10:31:25 22
    sort(a + 1, a + n + 1, cmp);
    int k = unique(a + 1, a + n + 1) - (a + 1);
{{ vote && vote.total.up }}

共 3 条回复

ykj68

前一个是排序,后一个是去重

tctm135

啥意思?

wyh15 Minecraft