Sorting | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 1
std::sort will do ^^ from algorythm library
26th Jun 2017, 8:07 PM
Jakub Stasiak
Jakub Stasiak - avatar