1720: 字符排序 - CCF-GESP2024年12月四级C++
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:5
Solved:3
Description

Input

Output

Sample Input Copy
3
3
aa
ac
de
2
aac
bc
1
gesp
Sample Output Copy
1
0
0