算法设计应用实例

类别:VC语言 点击:0 评论:0 推荐:

½ÚÒë×ÔThe Algorithm Design Manual
Copyright Steven S. Skiena  All Rights Reserved

Copyleft  g9yuayon(¶É¶ÉÄñ)  All Rights Lost

<rant>
ÕâÁ½ÌìVC++°æµÄËã·¨Ö®ÕùºÃ²»ÈÈÄÖ¡£¸ÕºÃ°³¿¼ÍêÒ»ÃÅÊÔ£¬ÐÄÇé¿íËÉ£¬
±ãÀ´´ÕȤ¡£Ëã·¨µÄÖØÒªÐÔ¸÷λ´óÏÀ¶¼ËµµÃºÜÇå³þÁË¡£¿´¿´ÖÜΧÓÅÐã
µÄµÄ³ÌÐòÔ±£¬Äĸö²»ÊÇΪÁ˺õÄËã·¨é龫½ßÂÇ£¬ÄĸöÓÅÐãµÄÈí¼þ²»
ÊÇÒÔ¸ßЧµÄË㷨Ϊ»ù´¡¡£ÎÒÒ²¾ÍתһЩÀý×Ó×÷Ϊ×ôÖ¤¡£ÎҼƻ®ÏÈ·­Òë
Ò»²¿·ÖThe Algorithm Design ManualÉϵÄÎÄÕ£¬È»ºóÔÙ·­Ò벿·Ö
Programming PearlsÉϵÄÎÄÕ¡£ÎÒ²ÅѧÁËÁ½Äê¶àµçÄÔ£¬Ò²ÊDzËÄñ£¬
·­Òë²»Öܵĵط½£¬»¹Çë¸ßÊÖÖ¸Õý¡£ºÃÁË£¬»°²»Ðë·±£¬ÑÔ¹éÕý´«£¬Çë¿´ÕýÎÄ¡£
</rant>

1. ×÷ÕߵĻ°(Ñ¡×ÔÐòÑÔ)
´ó¶àÊýÎÒ´ò¹ý½»µÀµÄרҵ³ÌÐòÔ±¶¼²»ÄÜʤÈÎËã·¨Éè¼ÆµÄÈÎÎñ£¬ÊµÔÚÈÃÈË
Òź¶£¬ÒòΪËã·¨Éè¼ÆµÄ¼¼ÇɱϾ¹ÊǼÆËã»ú¿ÆѧµÄºËÐļ¼ÊõÖ®Ò»¡£ÎªÒ»¸ö
ÏÖʵµÄÎÊÌâÉè¼ÆÕýÈ·£¬¸ßЧ£¬ºÍ¿ÉÒÔʵÏÖµÄËã·¨²»ÊǼþÈÝÒ×Ê£¬ÒòΪһ¸ö
³É¹¦µÄËã·¨Éè¼ÆÈËÔ±ÐèÒªÕÆÎÕÈçÏÂÁ½ÖÖ²»Í¬Àà±ðµÄ֪ʶ£º

¼¼ÇÉ--Ò»¸öºÃµÄËã·¨Éè¼ÆÈËÔ±Àí½âһЩ»ù±¾µÄËã·¨Éè¼Æ¼¼ÇÉ£¬°üÀ¨
Êý¾Ý½á¹¹£¬¶¯Ì¬¹æ»®£¬Éî¶ÈÓÅÏÈËÑË÷£¬»ØËÝ£¬ÒÔ¼°Æô·¢Ê½Éè¼Æ¡£²»¹ý
Ò²Ðí×îÖØÒªµÄ¼¼Êõ»¹Êǽ¨Ä£--°Ñ·×·±¸´ÔÓµÄÏÖʵӦÓóéÏóΪÊʺÏÓÃËã·¨½â¾öµÄ
¼ò½àÎÊÌâµÄÒÕÊõ¡£

×ÊÔ´--ºÃµÄËã·¨Éè¼ÆÕßÕ¾ÔÚ¾ÞÈ˵ļçÉÏ¡£ËûÃDz»»á»¨·Ñ¾«Á¦ÎªÃ¿Ò»¸öÎÊÌâ´Ó
Í·Éè¼ÆËã·¨£¬¶øÊÇÉè·¨ÕÒ³öÄÄЩÒÑÖªµÄ¶«Î÷¿ÉÓÃÒÔ½â¾ö´ý½âµÄÎÊÌ⣻ËûÃÇÒ²
²»»á´ÓͷʵÏÖ³£¼ûµÄËã·¨£¬¶øÊÇÕÒ³öÏֳɵĴúÂë×÷Ϊ³ö·¢µã¡£

ÔÚʵ¼Ê¹¤×÷ÖУ¬Ëã·¨ÎÊÌâ²»»áÔÚÒ»¸ö´óÐÍÏîÄ¿¿ªÊ¼Ê±³öÏÖ¡£Ïë·´£¬ËüÃǶàÔÚ
³ÌÐòԱͻȻ²»ÖªµÀÈçºÎ¼ÌÐøÍùÏÂÍê³É±à³Ì»òµ±Ç°µÄ³ÌÐò²»·óʹÓÃʱ³öÏÖÔÚijЩ
×ÓÎÊÌâÀΪÁËÈôó¼Ò¸üºÃµØÀí½âʵ¼ÊÓ¦ÓÃÖÐËã·¨ÎÊÌâµÄÀ´ÁúÈ¥Âö£¬ÎÒÃÇÔÚ´Ë
Ìṩһ×顰ʵս¹ÊÊ¡±¡£ËüÃǶ¼À´×ÔÓÚÎÒÃǽâ¾öʵ¼ÊÎÊÌâµÄ¾­Ñé¡£ÕâЩ¹ÊʵÄÔ¢Òâ
ÊÇ£¬Ëã·¨µÄÉè¼ÆºÍ·ÖÎö²»½öÊÇÀíÂÛ£¬Ò²ÊÇ°ïÖúÈËÃǽâ¾öÎÊÌâµÄÖØÒª¹¤¾ß¡£

该去看书复习喽,收工

待续

本文地址:http://com.8s8s.com/it/it3655.htm