sort(v.begin(),v.end(),greater ()); it is same as sort(v.begin(),v.end()); reverse(v.begin(),v.end());
sort and reverse
sort(v.begin(),v.end(),greater ()); it is same as sort(v.begin(),v.end()); reverse(v.begin(),v.end());
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en2 | SHAHARIAR_ISLAM_SAKIB | 2024-04-17 03:42:11 | 2 | Tiny change: '(),greater<int>());\' -> '(),greater <int>());\' | ||
en1 | SHAHARIAR_ISLAM_SAKIB | 2024-04-17 03:38:33 | 132 | Initial revision (published) |