文件名称:huiwen
-
所属分类:
- 标签属性:
- 上传时间:2013-08-26
-
文件大小:1kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
回文字符串是指从左到右和从右到左相同的字符串。 现给定一个仅由小写字母组成的字符串,你可以把它的字母重新排列,以形成不同的回文字符串。
* 输入:非空仅由小写字母组成的字符串,长度不超过100; 输出:能组成的所有回文串的个数(因为结果可能非常大,输出对1000000007取余数的结果)。
* 例如:输入"aabb" 输出为2(因为“aabb”对应的所有回文字符串有2个:abba和baab)-Palindrome string is from left to right and right to left the same string. Now only given a string of lowercase letters, you can put it to rearrange the letters to form different palindrome string.* Input: only by a non-empty string consisting of lowercase letters, the length does not exceed 100 Output: palindrome string can be composed of all the number (because the result can be very large, the output on 1000000007 to take the remainder of the results).* For example: Enter " aabb" output is 2 (because " aabb" all corresponding palindrome string has two: abba and baab)
* 输入:非空仅由小写字母组成的字符串,长度不超过100; 输出:能组成的所有回文串的个数(因为结果可能非常大,输出对1000000007取余数的结果)。
* 例如:输入"aabb" 输出为2(因为“aabb”对应的所有回文字符串有2个:abba和baab)-Palindrome string is from left to right and right to left the same string. Now only given a string of lowercase letters, you can put it to rearrange the letters to form different palindrome string.* Input: only by a non-empty string consisting of lowercase letters, the length does not exceed 100 Output: palindrome string can be composed of all the number (because the result can be very large, the output on 1000000007 to take the remainder of the results).* For example: Enter " aabb" output is 2 (because " aabb" all corresponding palindrome string has two: abba and baab)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
回文算法.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.