给N个字符串,请将他们以相同的组成元素(即组成的元素种类相同,每种元素的个数也一样)来分类,分类后按照原本出现的顺序输出!
问题 F: 统计相似字符串
时间限制:1000 ms 内存限制:128 MB提交:1891 解决:292
[ 提交][ 状态][ 讨论版]
题目描述
输入
多组数据,最多100组数据,每组最多N<5000个字符串,每个字符串长度最多|s|<=8,保证都是小写字母
输出
输出多行,每行为同一类别的字符串组
样例输入
6 eat tea tan ate nat bat
样例输出
eat tea ate tan nat bat
提示
한국어中文فارسیEnglishไทย
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024Xidian Programming Contest Online JudgeTEAM
GPL2.02003-2014HUSTOJ ProjectTEAM
Anything about the Problems, Please Contact Admin:admin
All Copyright Reserved 2010-2024Xidian Programming Contest Online JudgeTEAM
GPL2.02003-2014HUSTOJ ProjectTEAM