• Tidak ada hasil yang ditemukan

Tugas 1.pdf

N/A
N/A
Nguyễn Gia Hào

Academic year: 2023

Membagikan "Tugas 1.pdf"

Copied!
1
0
0

Teks penuh

(1)

#21 - Warming 2

Created by : PCLP

Alphabetic lovers found some random unordered alphabet. Please help them to arrange that aplhabetic string to ordered alphabet. Lowercase placed in front of (left) uppercase if the letter same.

Input

The first line of input specifies the number N of ranges, and each of the N following lines contains unordered aplhabetic string which is no more than 100 characters length for each string.

Output

For each alphabetic string, print the ordered string.

Sample Input

5 hrAvaO AaBbCcDd ABC CAB A

Sample Output

aAhOrv aAbBcCdD ABC ABC A

Problem Requirement Runtime Limit : 5 seconds Memory Limit : 8000 bytes

Referensi

Dokumen terkait

"Development of digital product assessment instruments for preservice teacher’s biology", Journal of Physics: Conference Series,

HOL blocking occurs in pure input queuing space switches when the switch internal speed is the same as the input and output lines.[SI The design of our switch architecture and the