Palindrome (迴文)

這幾天電腦編程課上我們在學recursive。老師要我們寫一段程序判斷某一個詞或句是否為palindrome,也就是迴文–正著唸倒著唸都一樣。這讓我一下想起了經典的中文迴文句:「上海自來水來自海上」。還有記得康康曾經說過的:「內湖養魚池魚養湖內」,「花蓮噴水池水噴蓮花」。一時興起,網上查了一下,發現了有幾句還挺有意思的。
 
比較棒的:
 
天上龍捲風捲龍上天
狂風暴雨夜雨暴風狂
西湖靈隱寺隱靈湖西
船上女子叫子女上船
 
搞笑一點的:
 
床上客人叫人客上床…3P?
 
這幾句要會閩南語才看得懂
 
小三看妹妹妹看三小…little 3 is watching his sister, WTF is his sister looking at?
大牛比較懶較比牛大…Big Niu is kinda lazy, his penis is bigger than bull. 
媽祖你幹嘛幹你祖媽…Ma tsu why are you f**king your great grandma?
 
last, one english palindrome generated by computer… seems alot, but meanning less…
 
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!
Advertisements
    • Jimmy
    • November 2nd, 2005

    this one is even worse than the last one….

    • Aaron
    • November 2nd, 2005

    what do you consider as good? i dont like event tracking, that\’s boring too.

    • Jimmy
    • November 3rd, 2005

    i mean the english palindrome……

    • du
    • November 5th, 2005

    quite fun..hoho..

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: