Sorting | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Sorting

C++ How to sort words in lexicographical order with the help of #include<set>? (give me code please) Input: 3 (quantity of elements) C A B

26th Jun 2017, 7:14 PM
Maria
Maria - avatar
1 Resposta
+ 1
std::sort will do ^^ from algorythm library
26th Jun 2017, 8:07 PM
Jakub Stasiak
Jakub Stasiak - avatar