搜索资源列表
jiancehuiwen
- 问题描述:对于给定的一个n个字符组成的字符串s,判断其是否为回文,设字符串s为: S:”C1,C2,…….Ci,Ci+1,…..Cn”,则对于P=(n/2),字符串s满足如下条件。 若n为偶数,则有C1=Cn,C2=Cn-1,….,Cp-1=Cp+2,Cp=Cp+1 若n为奇数,则有C1=Cn,C2=Cn-1,….,Cp-1=Cp+3,Cp=Cp+2. -The descr iption of the problem: given an n-character string s
huiwen
- 采用递归方法编程,检查一个任意给定的字符串是否是回文。-Programming recursion method to check an arbitrary given string is a palindrome.
B08021118
- 大学期末考试重点掌握的小程序,有一些经典的案例在其中,如数组,指针,字符串,回文等等经典的小程序案例。-Master program of the University final exam focus, there are some classic cases in which, such as arrays, pointers, strings, palindromes, etc. classic applet case.
xx
- C++ 实现回文函数的应用 .假设称正读和反读都相同的字符序列为“回文”,-this is huiwen function
fanweihuiwenshu
- 给定范围,如是几位数,然后在这个范围内求取其中最大的回文数-Given range, in the case of numbers that strike one of the largest palindrome in this range
vb
- 编程找出10000以内所有的回文数的平方仍是回文数的数。所谓回文数是指左右数字完全对称的自然数,例如:11,121,1221等都是回文数。-Programming to find the square of the 10000 within the palindrome is a palindrome number. The so-called palindrome is a natural number of the figure is completely symmetrical abou
123
- 利用栈实现数制转换的算法和回文字符串的判定 -Use of stack number system conversion algorithms and palindrome string to determine
Palindrome
- 输入字符串,检查是否回文,如果是,将其输出。-Input string, check whether palindrome, if it is, its output.
Symmetry
- 使用传递函数指针的通用头文件实现的判断输入字符串是不是回文的一个小程序,但通用性很强-Use a common header file transfer function pointers implemented to determine the input string is not a palindrome a small program, but very versatile
huiwen
- 用程序判断一个句子或者一个单词是否是回文(即正读和反读完全一样的单词)-use a programme to decide whether a sentence or a word is the same using the natural sequence or the reversd order
Judgment-palindrome
- 回文判断!既可以判断类似POP,LOL等样式的字母,顺着看和倒着看一样的!-Palindrome judge! Either to determine the style of letters similar to POP, LOL, along to see and look backwards!
huiwen
- 设计算法,判断该字符串的前n个字符组成的是否为回文,且使算法时间复杂度最小。 (注:123321、abcdeedcba均为回文,但12321不是回文) -Design algorithm to determine the first n characters of the string is a palindrome, and the complexity of the algorithm time minimum. (Note: 123321, abcdeedcba are palin
sicily3
- 输入一个字符串(字符串的长度不超过100),求出其中最长的回文子串的长度。子串的含义是:在原串中连续出现的字符串片段。回文的含义是:正着看和倒着看相同,如abba和yyxyy。-Enter a string (the length of the string is not more than 100), calculated the length of the longest palindrome substring. The substring meaning: the string frag
019
- 判断是否回文数对c语言初学者有一定用处,Determine whether the palindrome-Determine whether the palindrome
huiwen
- 本题要求给定字符串的最长回文子串长度,由于数据量过大,我们使用manacher算法求字符串的最长回文子串长度。-Can you propose an efficient algorithm to find the length of the largest palindrome in a string?
357
- 排序。判断是否回文。加密程序,将输入一字符串进行加密,字符串中所有字母加密,非字母字符不变。字母加密=如: A - F B - G .... Z - E 。-Sort. Determine whether the palindrome. Encryption program, the input string encryption to encrypt all the letters in the string constant non-alphabetic characters. Letter
lianb
- 用链表来实现数值转换,回文和括号匹配,大一小学期学C++课程设计时写的-With a linked list to achieve the the numerical conversion palindrome and brace matching, freshman elementary school- school C++ write curriculum design
main
- usaco第九题回文数是指从左向右念和从右向左念都一样的数。如12321就是一个典型的回文数。 给定一个进制B(2<=B<=20,由十进制表示),输出所有的大于等于1小于等于300(十进制下)且它的平方用B进制表示时是回文数的数。用’A’,’B’……表示10,11等等。 -The ninth title palindrome usaco is the same number of read and right-to-left read from left to rig
Palindromes
- 回文判定 基础的加密编写过程,对初学者有赢定的借鉴意义-Palindromes decision
huiwen
- 该程序是回文字符串的程序,非常适合刚学c的人需研究学习,里面的注释非常清楚。-The program is a palindrome string of the program, to be studied very suitable for people just learning c learning, the notes inside is very clear.