世界最长的回文 [英] World Longest Palindrome

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

问题描述

最近毕业的Dan Hoey写了一个C程序来寻找并且

构建了以下美丽:


一个男人,一个计划,一个插入符号,一个禁令,一个无数的,一个总和,一个紫胶,一个骗子,一个箍,

a品脱,一个楸树,一个汽油,一个油,一只鸟,一个叫喊,一个增值税,一个caw,a pax,

a wag,税,nay,ram,cap,a yam,a gay,a tsar,a wall,a car,

a鲁格,一个病房,一个垃圾桶,一个女人,一个附庸,一只狼,一个金枪鱼,一个尼特,一个美元,一个苦恼,一个瓦特,一个海湾,一个涂抹,一个棕褐色,一个驾驶室,基准面,一个胆,一个帽子,一个fag,一个zap,一个说法,一个下巴,一个平躺,一个潮湿,一个疾驰,一个拖船,一个小跑,

a陷阱,电车,torr,雀跃,顶部,tonk,收费,球,公平,

a sax,minim,a tenor,bass,a传球手,首都,车辙,阿门,a
ted,阴道,阴茎,太阳,屁股,鱼肚,凹陷,果酱,水坝,潜水艇,< br $> b $ ba盐,一个轴突,一个帆,一个广告,一个干河,一个弧度,一个房间,一个十字架,一个b $ b rip,一个tad,一个贱民,一个狂欢,卷轴,芦苇,一个游泳池,一个插头,一个别针,一个抛物线,一条抛物线,一条狗,一个轻拍,一个反刍,一个nu,一个粉丝,一个朋友,一个朗姆酒,一个

点头,一个eta,一个滞后,一个鳗鱼,一个蜡染,一个杯子,一个mot,一个午睡,一个格言,一个b $ b b心情,一个韭菜,一个gr ,,一个gob,一个凝胶,一个单调,一个城堡,一个总数,一个b
雪松,一个水龙头,一个堵嘴,一只老鼠,一个庄园,一个酒吧,一个gal,一个可乐,一个pap,一个
偏航,一个标签,一个raj,一个唠叨,一个唠叨,一个异教徒,一个包,一个罐子,一个蝙蝠,一种方式,一个爸爸,一个地方,一个嘎嘎,男爵,垫子,抹布,缝隙,焦油,贴花,

tot,led,tic,bard,leg,bog,burg,a keel ,一个厄运,一个混合,

a地图,一个原子,一个口香糖,一个工具包,一个鲸须,一个盛会,十个,一个唐,一个壁画,

a pan ,一个牧神,一个杜鹃,一个宝塔,一个吊灯,一个说唱,一个保持,一个咬,一口气,

a循环,一只鹿,一个杠杆,一个杠杆,一根头发,一个垫子,一个tap,一扇门,一个b $ b停泊,一个援助,一个raid,一团,一个别名,一头牛,一个地图集,一辆公共汽车,一个女士,

a jag ,锯子,肿块,肛门,g,实验室,军校学员,em,a / b $ atural,tip,caress,pass,baronet,minimax,sari,fall,

a ballot,a knot,pot,a rep,a carrot,a mart,part ,侵权行为,

肠道,民意调查,门户,法律,杰伊,闷棍,锯齿,脂肪,大厅,

色域,一个轻拍,一个罐头,一个禁忌,一天,一个击球,一个瀑布,一个铜绿,一个坚果,一个流,一个小姑娘,一辆面包车,一个割草,一个笔尖,一个平局,一个普通的,一个电话,一个b $ b战争,一次停留,一个游戏,一个yap,一个凸轮,一个光线,一把斧头,一个标签,一个蜡,一个爪子,一个

猫,山谷,小屁股,狮子,传奇,平台,猫薄荷,呸,a b
轨道,菖蒲,奶牛场主,运动员,运河 - 巴拿马。

Dan Hoey, who had recently graduated, wrote a C program to look for and
construct the following beauty:

A man, a plan, a caret, a ban, a myriad, a sum, a lac, a liar, a hoop,
a pint, a catalpa, a gas, an oil, a bird, a yell, a vat, a caw, a pax,
a wag, a tax, a nay, a ram, a cap, a yam, a gay, a tsar, a wall, a car,
a luger, a ward, a bin, a woman, a vassal, a wolf, a tuna, a nit, a
pall, a fret, a watt, a bay, a daub, a tan, a cab, a datum, a gall, a
hat, a fag, a zap, a say, a jaw, a lay, a wet, a gallop, a tug, a trot,
a trap, a tram, a torr, a caper, a top, a tonk, a toll, a ball, a fair,
a sax, a minim, a tenor, a bass, a passer, a capital, a rut, an amen, a
ted, a cabal, a tang, a sun, an ass, a maw, a sag, a jam, a dam, a sub,
a salt, an axon, a sail, an ad, a wadi, a radian, a room, a rood, a
rip, a tad, a pariah, a revel, a reel, a reed, a pool, a plug, a pin, a
peek, a parabola, a dog, a pat, a cud, a nu, a fan, a pal, a rum, a
nod, an eta, a lag, an eel, a batik, a mug, a mot, a nap, a maxim, a
mood, a leek, a grub, a gob, a gel, a drab, a citadel, a total, a
cedar, a tap, a gag, a rat, a manor, a bar, a gal, a cola, a pap, a
yaw, a tab, a raj, a gab, a nag, a pagan, a bag, a jar, a bat, a way, a
papa, a local, a gar, a baron, a mat, a rag, a gap, a tar, a decal, a
tot, a led, a tic, a bard, a leg, a bog, a burg, a keel, a doom, a mix,
a map, an atom, a gum, a kit, a baleen, a gala, a ten, a don, a mural,
a pan, a faun, a ducat, a pagoda, a lob, a rap, a keep, a nip, a gulp,
a loop, a deer, a leer, a lever, a hair, a pad, a tapir, a door, a
moor, an aid, a raid, a wad, an alias, an ox, an atlas, a bus, a madam,
a jag, a saw, a mass, an anus, a gnat, a lab, a cadet, an em, a
natural, a tip, a caress, a pass, a baronet, a minimax, a sari, a fall,
a ballot, a knot, a pot, a rep, a carrot, a mart, a part, a tort, a
gut, a poll, a gateway, a law, a jay, a sap, a zag, a fat, a hall, a
gamut, a dab, a can, a tabu, a day, a batt, a waterfall, a patina, a
nut, a flow, a lass, a van, a mow, a nib, a draw, a regular, a call, a
war, a stay, a gam, a yap, a cam, a ray, an ax, a tag, a wax, a paw, a
cat, a valley, a drib, a lion, a saga, a plat, a catnip, a pooh, a
rail, a calamus, a dairyman, a bater, a canal-Panama.

推荐答案

Amar Prakash Tripaithi写道:
Amar Prakash Tripaithi wrote:
最近毕业的Dan Hoey写了一篇C计划寻找和构建以下美容:
Dan Hoey, who had recently graduated, wrote a C program to look for and
construct the following beauty:



< snip>


虽然我很确定那些谁从未听说过它会喜欢它:


- 仅仅因为该程序是用C语言编写的,并不能与这个新闻组相关;

- 引用的回文是在1984年生成的,是11年前的新闻;

- 这不是世界上最长的回文。通过远景:
http://www.norvig.com/palindrome-a.html;

- 世界上最长的回文的概念是可疑的,因为

palindromes可以无限期延长 - 额外的

限制必须再次使它变得有趣。


Killjoy,不是吗?


S.


<snip>

While I''m sure that those who have never heard of it will enjoy it:

- just because the program was written in C doesn''t make it relevant to
this newsgroup;
- the palindrome quoted was generated in 1984, being news 11 years ago;
- this is not "the world''s longest palindrome" by a long shot:
http://www.norvig.com/palindrome-a.html;
- the very concept of "the world''s longest palindrome" is dubious, since
palindromes exist that can be extended indefinitely -- additional
restrictions have to be introduced to make it interesting again.

Killjoy, ain''t I?

S.


Skarmander写道:

< snip>
Skarmander wrote:
<snip>
- 引用的回文是在1984年生成的,是11年前的新闻;
- the palindrome quoted was generated in 1984, being news 11 years ago;




哎哟。呃,程序员有计算机可以计算它们?


讽刺你怎么总是在发送这个东西后10秒钟发现这个东西

它,但不是当你实际上在检查错误之前。诅咒

你,墨菲!


S.



Ouch. Eh, "programmers have computers to count for them"?

Ironic how you always notice this sort of thing 10 seconds after sending
it, but not when you are actually checking it for mistakes before. Curse
you, Murphy!

S.


Skarmander< in **** *@dontmailme.com>写道:
Skarmander <in*****@dontmailme.com> wrote:
- 只是因为程序是用C编写的并不能使它与
这个新闻组相关;
- just because the program was written in C doesn''t make it relevant to
this newsgroup;




我会乞求不同,并建议任何合理长度为b $ b的C程序都适合发布到comp.lang.c,如果只是为了
征求/引出评论和反馈。 OP当然没有这样做。


-

Christopher Benson-Manica |我*应该*知道我在说什么 - 如果我

ataru(at)cyberspace.org |不,我需要知道。火焰欢迎。



I would beg to differ and suggest that any C program of reasonable
length is appropriate to post to comp.lang.c, if only to
solicit/elicit comments and feedback. OP, of course, did not do so.

--
Christopher Benson-Manica | I *should* know what I''m talking about - if I
ataru(at)cyberspace.org | don''t, I need to know. Flames welcome.


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

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