最大的回文 [英] Largest Palindrome

查看:70
本文介绍了最大的回文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI每个人,


我要提交一个关于c的程序。任何人都可以帮助我

plz ....... ..问题是这样的::


编写一个程序来计算

字符串中最大的回文子串。


输入:

输入是字符串,其中最大的回文子字符串应该是找到的



输出:

输出显示最大的回文子串。


样本输入:

输入字符串:Habitat

样本输出:

Habitat最长的回文子串是:tat

解决方案

ra *************** @ gmail.com 写道:


[剪掉由老师写的整个家庭作业,明显比非学生英语非英语d $ d
。 ]


你到目前为止的工作是什么?当然你不要指望我们做你的作业

给你?


Richard




Richard Bos写道:

ra *************** @ gmail.com 写道:


[剪掉一份由家庭作业写成的作业对于非英语的英语,他的学生明显比他的学生好。 ]


你到目前为止的工作是什么?当然你不要指望我们做你的作业

给你?


Richard



这真让我烦恼。好像没有足够的无能为力的专业人员......


< ra **** ***********@gmail.com写道:


我要在c上提交一个程序。任何人都可以帮助我

plz .........问题是这样的:


写一个程序来计算一个最大的回文子串

string。


输入:

输入是字符串,其最大的回文子字符串应为

找到。


输出:

输出显示最大的回文子串。


样本输入:

输入字符串:Habitat


样本输出:

Habitat最长的回文子串是:tat


请注意,回文的第一个字母与最后一个字母相同。

从那里继续。


HI Everybody,

I ''ve to submit a program on c.Can any one help me
plz.........The problem is like this::

Write a program which computes the largest palindrome substring of a
string.

Input:
The input is the string whose largest palindrome substring should be
found.

Output:
The output displays the largest palindrome substring.

Sample Input:
Enter the string: Habitat

Sample Output:
The longest palindrome substring of Habitat is: tat

解决方案

ra***************@gmail.com wrote:

[ Snip whole homework assignment written by a teacher who is clearly
better at non-d00d English than his pupils. ]

And your work so far is? Surely you don''t expect us to do your homework
for you?

Richard



Richard Bos wrote:

ra***************@gmail.com wrote:

[ Snip whole homework assignment written by a teacher who is clearly
better at non-d00d English than his pupils. ]

And your work so far is? Surely you don''t expect us to do your homework
for you?

Richard

This really annoys me. As if there isn''t enough incompetent IT
professionals out there...


<ra***************@gmail.comwrote:

I ''ve to submit a program on c.Can any one help me
plz.........The problem is like this::

Write a program which computes the largest palindrome substring of a
string.

Input:
The input is the string whose largest palindrome substring should be
found.

Output:
The output displays the largest palindrome substring.

Sample Input:
Enter the string: Habitat

Sample Output:
The longest palindrome substring of Habitat is: tat

Note that the first letter of a palindrome is the same as the last letter.
Proceed from there.


这篇关于最大的回文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆