搜索资源列表
cpp
- 一些相关问题的c++计算。 包括算回文素数,算时间-some cpp yunsuan including huiwen sushu
huiwen
- VS 2008 下的 回文函数是想包含测试的主函数。-Palindrome function under VS 2008 is to contain the main function tests.
huiwen
- 回文(palindrome)是指一个字符串从前面读和从后面读都一样,仅使用若干栈和队列、栈和队列的ADT函数以及若干个int类型和char类型的变量,设计一个算法来判断一个字符串是否为回文。假设字符串从标准输入设备一次读入一个字符,算法的输出结果为true或者false。-Palindrome (palindrome) refers to a string read from the front and from the back to read the same, only a number
401-(2)
- UVA 401 这题回文题还是比较经典的。最近面试总有这类题。希望代码中的思路对你有帮助。-UVA 401 palindromic title this question is quite classic. Recent interviews always have such practice. I hope the idea of code to help you.
Huiwen
- 回文判断C++,小程序 回文判断C++,小程序-cycle C++
Palindrome-Number
- 判断一个数是否是回文数。一种比较简单易懂的好的方法。-Palindrome Number
Judge-palindromic-sequence
- 制作简易的菜单,运用递归调用,实现判断回文数的功能-Create a simple menu using a recursive call to realize the function of judge palindrome
B
- 定义一个字符栈类CStack。私有数据成员:栈数组和指向栈顶的下标或指针;公有成员函数:构造函数、拷贝构造函数、压栈、出栈、清栈、访问栈顶元素、检测栈是否空,是否满等。用上述栈来做回文游戏。用户输入一行字符判断是否为回文。(回文:顺读和逆读字符串一样(不包括空格);如:“a man a plan a canal panama”,就是回文)。注意过滤掉空格。-Defines a character class stack CStack.
pro9
- 如果一个数从左往右读和从右往左读都是一样,那么这个数就叫做“回文数”。例如,12321就是一个回文数,而77778就不是。当然,回文数的首和尾都应是非零的,因此0220就不是回文数。 事实上,有一些数(如21),在十进制时不是回文数,但在其它进制(如二进制时为10101)时就是回文数。 编一个程序,从文件读入两个十进制数N (1 <= N <= 15)S (0 < S < 10000)然后找出前N个满足大于S且在两种或两种以上进制(二进制至十进制)上是回文数的十进
main
- 消除形如AA ABA的回文串。可以消除一串字符中所有的回文串-Eliminate shaped like AA ABA palindrome string. You can eliminate all of the palindrome string of characters in a string
back
- 回文分析C程序:可判断字符串内存储的是否为回文,可判断中英混合字符串。 回文样例:上海自来水来自海上。 ABCBA A我B市B我A-Palindrome analysis C program: to determine whether the string is stored as a palindrome, the judgment of mixed strings. Palindrome Example: Shanghai water from the sea. ABCBA
zhishu
- 利用C语言判断并输出1亿以内回文式质数,并且计算所用时间-Using C language to determine and output within 100 million palindromic primes formula and calculate the time spent
huiweixunlie
- 判断是否为回文数列和回文数的代码,简单高效。-Determine whether the number of columns and palindrome palindrome code, simple and efficient.
some-cPP-algorithm
- 一些简单常见的c++算法,包括:求奇数平均值,判断回文数,求汉诺塔-Some simple common c++ algorithms, including: seeking odd average judge palindrome, seeking Tower of Hanoi
HuiWen_Test
- 用户输入一串文字,系统将自动完成回文效果-Input some sentences by user and Sys will put it into palindrome effect
PrimeAndPalindrome
- 判断5到20亿之间的回文质数(也称回文素数)。采用构建奇数长度回文数的方法,将计算量级缩小。-Palindromic primes judge (also called palindromic primes) 5-2000000000 between. The method of constructing odd length palindrome, and will calculate the magnitude smaller.
hunwenshu
- 用于回文数的检测判断,可在此基础上进一步添加完善~-Judgment for palindrome detection can be further added to improve on this basis-
Manacher
- Manacher算法 回文串O(n)解决方法 最快的回文串查找策略-Manacher palindrome string algorithm O (n) solution fastest palindrome string search strategy
HuiWenPrc
- 一个用c语言写的小程序,主要实现了计算回文数。适合新手理解-C language used to write a small program, the main computational palindrome. Suitable for beginners to understand
Desktop
- 实现对一串由用户输入的字符串判断其是否是回文的操作算法-Achieve a string of a string entered by the user to determine whether it is a palindrome operation algorithm