以少胜多的战役简介:输入一个数n,再输入n个字符串,求它的出现频率最高的字符串,并输出.
来源:百度文库 编辑:查人人中国名人网 时间:2024/07/07 10:14:17
输入一个数n,再输入n个字符串,求它的出现频率最高的字符串,并输出.
如:3
where is the cat?
where is the cat live?
do you like the cat?
结果为"the cat"
如:3
where is the cat?
where is the cat live?
do you like the cat?
结果为"the cat"