BLONDEMEN
Threeblondemenarestrandedononesideofawideriver,anddidn'tknow
howtogetacross.ThefirstmanpraystoGodtomakehimsmartenoughtofigureouthowto
crosstheriver,soGodturnshimintoabrown-hairdomanandheswimsacross.
ThesecondmanpraystoGodtomakehimevensmarter,soGodturnshiminto
adark-hairdomanandhebuildaboatandrowsacross.ThenthethirdmanpraystoGodtomakehimthesmartestofall,soGod
t...[
阅读全文]
WORDSOFWISDOMFROMCHILDREN1)Nomatterhowhardyoutry,youcan'tbaptizecats.2)Whenyourmomismadatyourdad,don'tletherbrushyourhair.3)Ifyoursisterhitsyou,don'thitherback.Theyalwayscatchthesecond
person.4)Youcan'ttrustdogstowatchyourfood.5)Readingwhatpeoplewriteondeskscanteachyoualot.6)Don'tsneezewhensomeoneiscuttingyourhair.7)Schoollunchessticktothewall.8)Don'twearpolka-dotunderw...[
阅读全文]
HOWDOYOUKNOWIFYOU'REINLOVE,INLUSTORREALLYMARRIED?LOVE--Whenyoureyesmeetacrossacrowdedroom.LUST--Whenyourtonguesmeetacrossacrowdedroom.MARRIAGE--Whenyouloseyourchildinacrowdedroom.LOVE--Whenintercourseiscalled"makinglove."LUST--Whenintercourseiscalled"screwing."MARRIAGE--Whatthehellareyoutalkingabout?LOVE--Whenyouargueoverhowmanychildrentohave.LUST--Whenyouargueoverwhogetsth...[
阅读全文]
THEPARADOXOFOURTIMEWehavetallerbuildings,butshortertempers;widerfreeways,butnarrower
viewpoints;wespendmore,buthaveless;webuymore;butenjoyitless.Wehavemoreconveniences,butlesstime;wehavemoredegrees,butless
sense;moreknowledge,butlessjudgement;moreexperts,butmoreproblems.Wetalktoomuch,lovetooseldom,andhatetoooften.We'velearnedhowtomakealiving,butnotalife.We'veaddedyearstolife,notl...[
阅读全文]
THINGSYOUWOULDNEVERKNOWWITHOUTTHEMOVIES1)Duringallpoliceinvestigationsitwillbenecessarytovisitastrip
clubatleastonce.2)Mostdogsareimmortal.3)Ifbeingchasedthroughtown,youcanusuallytakecoverinapassing
St.Patrick'sDayparade-atanytimeoftheyear.4)AllbedshavespecialL-shapedcoversheetswhichreachuptothearmpit
levelonawomanbutonlytowaistlevelonthemanlyingbesideher.5)Onceapplied,lipstickwill...[
阅读全文]
WHYDIDTHECHICKENCROSSTHEROADKindergartenTeacher:Togettotheotherside.Plato:Forthegreatergood.Aristotle:Itisthenatureofchickenstocrossroads.KarlMarx:Itwasanhistoricalinevitability.TimothyLeary:Becausethat'stheonlytriptheestablishmentwouldlet
ittake.CaptainJamesKirk:Toboldlygowherenochickenhasgonebefore.Hippocrates:Becauseofanexcessofphlegminitspancreas.JohnnyRotten:Becauseitwasstapledthepunk...[
阅读全文]
人们可以很容易计算4乘以3(4X3=12),但是机器是怎样计算4乘以3?图灵(TURING)提
出一个计算模型(图灵机),它可以做这种计算。图灵机由一条无限长度的纸带子(带
子上划分成许多格子),读写头,控制器和字母组等组成。读写头有读写功能:可以
从带子上读出数据,也可以往带子上写数据。控制器的功能是:把读写头向左(或向
右)移动一格和改变图灵机的工作状态。[
阅读全文]
你是怎样将车停到与该车平行的车位?一般的步骤是:1)将车向前平移(T);2)将
车旋转一角度(R);3)将车向后平移(-T);4)将车反方向旋转一角度(-R)。也就是,
(T)(R)(-T)(-R)。从代数的角度来说,这是一系列群操作。并且该群是交换群(ABEL群
),即对于任何群元素A,B,AB=BA。于是我们可以得到:(T)(R)(-T)(-R)=(T)(-T)(
R)(-R)=I。此处I是单位元素。也就是说,通过上述操作我们可[
阅读全文]
美国一个度假小镇,人人都陷入债务。忽然间,一位富有旅客来到镇上。他进入当地
唯一旅店,将100美元钞票放在接待柜台,便上楼审视客房,以便挑选一间。旅店老
板飞跑去将100美元支付其欠债的屠夫;屠夫飞跑去将100美元支付其欠债的养猪人;
养猪人飞跑去将100美元支付其欠债的饲料和燃料供应商;供应商飞跑去将100美元
支付其欠债的该镇妓女。这个妓女跑[
阅读全文]
在日常生活中有时会碰到一些与算法有关的事情,现例举如下。
1)最稳定婚姻
假设在婚介所有4对男士(A,B,C,D)和女士(a,b,c,d),每人手中都有一张表,
上面有他(她)所喜欢的人(按最喜欢的,次最喜欢的等顺序列出)。如,男士A的表是
cbda,而女士c的表是ACDB。当然,A-c的结合是最稳定的婚姻,因为双方
都找到他(她)所喜欢的人。当人数较多时,我们得用算法找到最[
阅读全文]