Masala #HU8MMEWNC0
  
STL_2
(MAPda ishlang (pythonda dict)
Berilgan ismlar ro'yhatini saralang.
Kiruvchi ma'lumotlar:
Birinchi qatorda ismlar soni n. (1≤n≤100)
Ikkinchi qatorda esa probel bilan ajratilgan holda n ta ism.
Chiquvchi ma'lumotlar:
Ismlarni saralab ekranga chop eting.
Misollar
# | input.txt | output.txt |
---|---|---|
1 |
5 sardor alisher davron kamron salim |
alisher davron kamron salim sardor |
2 |
10 asdasd qwerqwe asdasd dfgd qwerw dfgbdf yujy dscsd tyhty qwdqwd |
asdasd asdasd dfgbdf dfgd dscsd qwdqwd qwerqwe qwerw tyhty yujy |
Yechimini yuborish
Bu amalni bajarish uchun tizimga kiring,
agar profilingiz bo'lmasa istalgan payt ro'yxatdan o'tishingiz mumkin