锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品久久久久久久久久中文字幕,亚洲精品WWW久久久久久,伊人久久综合成人网http://www.shnenglu.com/sduzgz/zh-cnWed, 07 May 2025 17:36:15 GMTWed, 07 May 2025 17:36:15 GMT60瀛楃闀夸覆涓煭涓查嗗簭杈撳嚭http://www.shnenglu.com/sduzgz/archive/2010/09/28/127946.htmlsduzgzsduzgzTue, 28 Sep 2010 02:14:00 GMThttp://www.shnenglu.com/sduzgz/archive/2010/09/28/127946.htmlhttp://www.shnenglu.com/sduzgz/comments/127946.htmlhttp://www.shnenglu.com/sduzgz/archive/2010/09/28/127946.html#Feedback0http://www.shnenglu.com/sduzgz/comments/commentRss/127946.htmlhttp://www.shnenglu.com/sduzgz/services/trackbacks/127946.html闃呰鍏ㄦ枃

sduzgz 2010-09-28 10:14 鍙戣〃璇勮
]]>
绱犳暟鏌ユ壘http://www.shnenglu.com/sduzgz/archive/2010/09/25/127648.htmlsduzgzsduzgzSat, 25 Sep 2010 10:49:00 GMThttp://www.shnenglu.com/sduzgz/archive/2010/09/25/127648.htmlhttp://www.shnenglu.com/sduzgz/comments/127648.htmlhttp://www.shnenglu.com/sduzgz/archive/2010/09/25/127648.html#Feedback4http://www.shnenglu.com/sduzgz/comments/commentRss/127648.htmlhttp://www.shnenglu.com/sduzgz/services/trackbacks/127648.html闃呰鍏ㄦ枃

sduzgz 2010-09-25 18:49 鍙戣〃璇勮
]]>
铏氬嚱鏁幫紝澶氭侊紝鎶借薄綾伙紝鎺ュ彛鍒漢鐨勭粡楠?/title><link>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126757.html</link><dc:creator>sduzgz</dc:creator><author>sduzgz</author><pubDate>Thu, 16 Sep 2010 06:22:00 GMT</pubDate><guid>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126757.html</guid><wfw:comment>http://www.shnenglu.com/sduzgz/comments/126757.html</wfw:comment><comments>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126757.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/sduzgz/comments/commentRss/126757.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/sduzgz/services/trackbacks/126757.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.shnenglu.com/sduzgz/archive/2010/09/16/126757.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/sduzgz/aggbug/126757.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/sduzgz/" target="_blank">sduzgz</a> 2010-09-16 14:22 <a href="http://www.shnenglu.com/sduzgz/archive/2010/09/16/126757.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鎺ュ彛錛岃櫄鍑芥暟鍙婄函铏氬嚱鏁?/title><link>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126752.html</link><dc:creator>sduzgz</dc:creator><author>sduzgz</author><pubDate>Thu, 16 Sep 2010 05:39:00 GMT</pubDate><guid>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126752.html</guid><wfw:comment>http://www.shnenglu.com/sduzgz/comments/126752.html</wfw:comment><comments>http://www.shnenglu.com/sduzgz/archive/2010/09/16/126752.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/sduzgz/comments/commentRss/126752.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/sduzgz/services/trackbacks/126752.html</trackback:ping><description><![CDATA[     鎽樿:   <a href='http://www.shnenglu.com/sduzgz/archive/2010/09/16/126752.html'>闃呰鍏ㄦ枃</a><img src ="http://www.shnenglu.com/sduzgz/aggbug/126752.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/sduzgz/" target="_blank">sduzgz</a> 2010-09-16 13:39 <a href="http://www.shnenglu.com/sduzgz/archive/2010/09/16/126752.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏃犳硶鎵懼埌棰勭紪璇戞枃浠?/title><link>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125500.html</link><dc:creator>sduzgz</dc:creator><author>sduzgz</author><pubDate>Wed, 01 Sep 2010 02:12:00 GMT</pubDate><guid>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125500.html</guid><wfw:comment>http://www.shnenglu.com/sduzgz/comments/125500.html</wfw:comment><comments>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125500.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.shnenglu.com/sduzgz/comments/commentRss/125500.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/sduzgz/services/trackbacks/125500.html</trackback:ping><description><![CDATA[<div id="9zf3n9j" class=date> </div> <table style="WIDTH: 100%; TABLE-LAYOUT: fixed"> <tbody> <tr> <td> <p class=cnt>闂錛氱敤Visual studio 2008緙栬緫C++紼嬪簭錛屾寜Ctrl+F5,鍑虹幇涓嬪垪閿欒錛?/p> <p class=cnt>fatal error C1083: 鏃犳硶鎵撳紑棰勭紪璇戝ご鏂囦歡錛?#8220;Debug/UGFace.pch”: No such file or  directory </p> <p class=cnt>瑙e喅鍔炴硶錛氭墦寮stdafx.cpp婧愭枃浠訛紝鐒跺悗緙栬瘧涓嬈★紝寰呯紪璇戦氳繃鍚庡啀瀵圭▼搴忔墽琛孋trl+F7鐨勬搷浣溿?/p> <p class=cnt> </p> <p class=cnt>鍒氱爺絀禖++璇█錛岄偅鐭ラ亾錛岀収鐫涔︿笂鐨勪緥瀛愮紪鍐欑涓涓▼搴忓氨鍑洪敊浜嗭細</p> <p class=cnt>fatal error C1010: unexpected end of file while looking for precompiled header directive</p> <p class=cnt>鏍規嵁鎻愮ず錛屾垜鏀瑰彉浜嗛澶勭悊鍛戒護鐨勫簲鐢紝鐢氳嚦鎴戞敞閲婁簡#include stdafx.h榪欎釜澶存枃浠跺懡浠わ紝緇撴灉褰撶劧鏄ぇ閿欑壒閿欙紝閿欎笂鍔犻敊銆傜紪鍐欑涓涓▼搴忓氨鎼炴垚榪欎釜鏍峰瓙錛屽疄鍦ㄦ槸鏈夌偣閮侀椃……浜庢槸鎴戞悳绱簡榪欎竴閿欒錛岀湅鍒板涓嬩竴綃囨枃绔狅細</p> <p class=cnt>1銆佺敤VC.NET緙栬緫紼嬪簭錛屾寜Ctrl+F7,鍑虹幇涓嬪垪閿欒錛?/p> <p class=cnt>fatal error C1083: 鏃犳硶鎵撳紑棰勭紪璇戝ご鏂囦歡錛?#8220;Debug/UGFace.pch”: No such file or  directory </p> <p class=cnt>瑙e喅鏂規硶錛氫慨鏀癸細欏圭洰->灞炴?>C/C++ ->棰勭紪璇戝ご->涓嶄嬌鐢ㄩ緙栬瘧澶?鍗沖彲銆?/p> <p class=cnt>2銆佸厛鎵撳紑涓涓互鍓嶅仛浜嗕竴涓嬬殑宸ョ▼錛岀紪璇戦氳繃錛岃兘榪愯銆傛垜灝辯◢寰慨鏀逛簡涓涓嬩唬鐮侊紙鍙槸淇?鏀逛竴涓弬鏁頒嬌鍐欏叆INI鏂囦歡鐨勬暣鏁扮敱0鍙樹負10錛夛紝榪欐椂緙栬瘧閫氫笉榪囦簡錛屾彁紺哄ご鏂囦歡“stdafx.h”緙栬瘧閿欒錛堝叿浣撻敊璇彁紺哄繕璁頒簡錛夛紝閿欒浣嶇疆鎸囧悜搴旂敤 紼嬪簭綾葷殑婧愭枃浠剁殑璇彞“#include "stdafx.h"”銆備笉鍖呭惈榪欎釜鏂囦歡鏄笉琛岀殑錛屽乏鐪嬪彸鐪嬫病鎵懼嚭涓師鍥犳潵錛岀敋鑷蟲妸浠g爜鏀瑰洖鍘熸潵鐨勬牱瀛愶紝榪樻槸涓嶈銆傚埌緗戜笂涓鏌ワ紝鍙戠幇榪欎箞涓孌佃瘽錛?/p> <p class=cnt><br>瀛︾敤Visual C++ 6.0鐨勭涓涓緥紼嬪氨璁╂垜鍑轟簡閿?鐢ㄥ悜瀵肩敓鎴愮涓涓熀浜庡璇濇鐨凱roject涔嬪悗,鎴戞寜鐓т功([Visual C++闈㈠悜瀵硅薄涓庡彲瑙嗗寲紼嬪簭璁捐(絎簩鐗?]娓呭崕澶у鍑虹増紺緋p76)涓婄殑渚嬪瓙寮濮嬩簡鎴戠殑絎竴涓▼搴?褰撴垜鎸夌収涔︿笂鐨勬簮紼嬪簭涓涓瓧涓涓瓧鍦拌緭榪涘幓涔嬪悗,濮?緇堟湁涓涓敊璇?fatal error C1010: unexpected end of file while looking for precompiled header directive.鎵句簡鏃犳暟嬈′箣鍚?鎴戝喅瀹氭妸鍚戝鐢熸垚鐨勫寘鎷ご鏂囦歡鐨勮鍙?include"StdAfx.h"淇濈暀(鑰岃繖涔嬪墠鎴戞槸鎶婂畠鍒犳帀浜嗙殑,鍥犱負涔?涓婄殑渚嬪瓙娌℃湁榪欏彞.)鍜?榪欎笅灝卞浜?榪欐槸涓轟粈涔堝憿?鎴戠櫨鎬濅笉寰楀叾瑙?</p> <p class=cnt>    鏉ュ埌鎴戠殑VC婧愪唬鐮佺洰褰?鎴戞敞鎰忓埌姣忎釜Project姣忎釜Project涓嬮潰鐨凞EBUG鏂囦歡澶歸兘鐗瑰埆澶?鑰屼笖涓涓墿灞曞悕涓?.pch鐨勬枃浠跺崰鍘諱簡緇濆ぇ閮ㄥ垎,鎴戝垹鎺変箣濂藉儚瀵圭▼搴忕紪璇戣繍琛屾病鏈変粈涔堝獎鍝?浜庢槸鎶辯潃瀵?pch鏂囦歡鐨勫ソ濂?鎴戝湪緗戜笂鎼滃埌浜嗘垜鐤戞儜涔嬪鐨勮В絳?榪欏氨鏄?VC++6.0緇欐垜浠甫鏉ョ殑:棰勭紪璇戝ご鏂囦歡.棰勭紪璇戝ご鏂囦歡(涓鑸墿灞曞悕涓?PCH),鏄妸涓涓伐紼嬩腑杈冪ǔ瀹氱殑浠g爜棰勫厛緙栬瘧濂芥斁鍦ㄤ竴涓枃浠?.PCH)閲? 榪欎簺棰勫厛緙栬瘧濂界殑浠g爜鍙互鏄換浣曠殑C/C++浠g爜--鐢氳嚦鍙互鏄痠nline鍑芥暟,鍙槸瀹冧滑鍦ㄦ暣涓伐紼嬩腑鏄緝涓虹ǔ瀹氱殑,鍗沖湪宸ョ▼寮鍙戣繃紼嬩腑涓嶄細緇忓父琚慨鏀?鐨勪唬鐮?</p> <p class=cnt>    涓轟粈涔堥渶瑕侀緙栬瘧澶存枃浠?</p> <p class=cnt>    涓璦浠ヨ斀涔?鎻愰珮緙栬瘧閫熷害.涓鑸湴,緙栬瘧鍣ㄤ互鏂囦歡涓哄崟浣嶇紪璇?濡傛灉淇敼浜嗕竴宸ョ▼涓殑涓涓枃浠跺垯鎵鏈夋枃浠墮兘瑕侀噸鏂扮紪璇?鍖呮嫭澶存枃浠墮噷鐨勬墍鏈変笢瑗?(eg.Macro瀹?Preprocessor棰勫鐞?,鑰孷C紼嬪簭涓?榪欎簺澶存枃浠朵腑鎵鍖呮嫭鐨勪笢瑗垮線寰鏄潪甯稿ぇ鐨?緙栬瘧涔嬪皢鍗犲緢闀跨殑鏃墮棿.浣嗗畠浠張涓嶅父 琚慨鏀?鏄緝紼沖畾鐨?涓哄崟鐙殑涓涓皬鏂囦歡鑰岄噸鏂扮紪璇戞暣涓伐紼嬬殑鎵鏈夋枃浠跺鑷寸紪璇戞晥鐜囦笅闄?鍥犳寮曞叆浜?PCH鏂囦歡.</p> <p class=cnt>    濡備綍浣跨敤棰勭紪璇戝ご鏂囦歡浠ユ彁楂樼紪璇戦熷害?</p> <p class=cnt>    瑕佷嬌鐢ㄩ緙栬瘧澶存枃浠?蹇呴』鎸囧畾涓涓ご鏂囦歡(.H),瀹冨寘鍚垜浠笉浼氱粡甯鎬慨鏀圭殑浠g爜鍜屽叾浠栫殑澶存枃浠?鐒跺悗鐢ㄨ繖涓ご鏂囦歡(.H)鏉ョ敓鎴愪竴涓緙栬瘧澶存枃浠?(.PCH)VC榛樿鐨勫ご鏂囦歡灝辨槸StdAfx.h,鍥犱負澶存枃浠舵槸涓嶈兘緙栬瘧鐨?鎵浠ユ垜浠繕闇瑕佷竴涓?CPP鏂囦歡鏉ヤ綔妗ユ,VC榛樿鐨勬枃浠朵負 StdAfx.cpp,榪欎釜鏂囦歡閲屽彧鏈変竴鍙ヤ唬鐮佸氨鏄?錛僫nclude "StdAfx.h".鎺ヤ笅鏉ヨ鐢ㄥ畠鐢熸垚.PCH鏂囦歡,娑夊強鍒板嚑涓噸瑕佺殑棰勭紪璇戞寚浠?/Yu,/Yc,/Yx,/Fp.綆鍗曞湴璇?/Yc鏄敤鏉ョ敓 鎴?PCH鏂囦歡鐨勭紪璇戝紑鍏?鍦≒roject->setting->C/C++鐨凜ategory閲岀殑Precompiled Header,鐒跺悗鍦ㄥ乏杈圭殑鏍戝艦瑙嗗浘涓夋嫨鐢ㄦ潵緙栬瘧鐢熸垚.PCH鏂囦歡鐨?CPP鏂囦歡(榛樿鍗砈tdAfx.cpp)浣犲氨鍙互鐪嬪埌/Yc榪欎釜寮鍏?瀹冭〃紺鴻繖 涓枃浠剁紪璇戜簡浠ュ悗鏄惁鐢熸垚.PCH鏂囦歡(鍙兘/Yc鐨刢琛ㄧずcreate)./Fp鎸囦護鎸囧畾鐢熸垚鐨?PCH鏂囦歡鐨勫悕瀛楀強璺緞(鍙兘/Fp鐨刾浠h〃 path)./Yu鐨剈鍗硊se浣跨敤,宸ョ▼涓彧瑕佸寘鎷簡.H鏂囦歡鐨勬枃浠墮兘浼氭湁榪欎釜/Yu鎸囦護.濡傛灉閫夋嫨鑷姩Automatic...鐨勮瘽鍒欏師鏉ヤ負/Yc鐨?鍦版柟灝辨崲鎴愪簡/Yx鎸囦護.濡傛灉閫夋嫨鑷姩,鍒欐瘡嬈$紪璇戞椂緙栬瘧鍣ㄤ細鐪嬩互鍓嶆湁娌℃湁鐢熸垚榪?PCH鏂囦歡,鏈夊垯涓嶇幇鐢熸垚鍚﹀垯灝卞啀嬈$紪璇戜駭鐢?PCH鏂囦歡.</p> <p class=cnt>娉ㄦ剰:<br>A,瀹為檯涓?鐢盇ppzard欏圭洰鍚戝鐢熸垚鐨勯粯璁ょ殑澶存枃浠跺強CPP鏂囦歡StdAfx.h鍜孲tdAfx.cpp鍙互鏄換浣曞悕瀛楃殑.鍘?鍥犲緢綆鍗?浣嗗鏋滀綘瑕佽繖鏍峰仛灝辮璁板緱淇敼鐩稿簲鐨凱roject->setting...涓嬬殑鍑犱釜棰勭紪璇戞寚(/Yc,/Yu,/Yx,/Fp)鐨勫弬 鏁?</p> <p class=cnt><br>B.鍦ㄤ換浣曚竴涓寘鎷簡灝嗚棰勭紪璇戠殑澶存枃浠惰屼嬌鐢ㄤ簡.PCH鏂囦歡鐨勫伐紼嬫枃浠剁殑寮澶?涓瀹氬繀欏昏鏄湪鏈寮澶?浣犺鍖呭惈閭d釜鎸囧畾鐢熸垚.PCH鏂囦歡 鐨?H鏂囦歡(閫氳繃.CPP鏂囦歡鍖呮嫭,榛樿涓篠tdAfx.cpp),濡傛灉娌″寘鎷皢浜х敓鎴戞渶寮澶翠駭鐢熺殑閿欒.濡傛灉涓嶆槸鍦ㄦ渶寮澶村寘鎷皢浜х敓璁╀綘鎰忔兂涓嶅埌鐨勮帿鍚?鍏跺閿欒,濡傝嫢涓嶄俊,鐩嶄負璇曚箣?</p> <p class=cnt><br>C.棰勭紪璇戞枃浠?PCH鐢熸垚涔嬪緢鑰楁椂闂?鑰屼笖鐢熸垚涔嬪悗瀹冧篃寰堝崰紓佺洏絀洪棿,甯稿湪5-6M,娉ㄦ剰欏圭洰瀹屾垚涔嬪悗鍙婃椂娓呯悊鏃犵敤鐨?PCH鏂囦歡浠ヨ妭綰︾鐩樼┖闂?</p> <p class=cnt><br>D.濡傛灉涓簡鎴栧垹浜?PCH鏂囦歡鑰屼互鍚庤鍐嶄慨鏀瑰伐紼嬫枃浠舵椂,鍙皢鎸囧畾鐨?Yc鐨?CPP鏂囦歡(榛樿涓篠tdAfx.cpp)閲嶆柊緙栬瘧涓嬈″嵆鍙啀嬈$敓鎴?PCH鏂囦歡,涓嶇敤鍌誨偦鐨勬寜F7鎴朢ebuild All</p> <p class=cnt> </p> <p class=cnt>    鐓ц繖涔堣錛屾垜榪欑鎯呭喌鍙閲嶆柊灝?#8220;StdAfx.cpp”緙栬瘧涓涓嬪氨鍙互浜嗭紝涓璇曪紝椹笂鑳界紪璇戣繍琛屼簡銆傚績閲屼笉鐭ラ亾鏈夊楂樺叴錛屽洜涓轟互鍓嶇鍒拌繃鍑犳榪欐牱鐨勯棶棰橀兘涓嶇煡閬撴庝箞瑙e喅錛屽彧濂介噸鏂板垱寤轟竴涓浉鍚岀殑宸ョ▼銆?br>浠ュ墠榪樼鍒拌繃鍙﹀涓縐嶆儏鍐?鏃╁氨瑙e喅浜嗙殑)錛氭柊寤轟竴涓伐紼嬶紝闅忎究鎵句竴涓猚pp鏂囦歡錛屾寜ctrl+f7緋葷粺灝嗕細鎻愮ず錛歠atal error C1083: 鏃犳硶鎵撳紑棰勭紪璇戠殑澶存枃浠訛細”Debug/xxx.pch”: No such file or directory(鍏朵腑xxx鏄伐紼嬬殑鍚嶅瓧)榪欑鎯呭喌涔熸槸涓鏍風殑鍘熷洜錛屼負vc鐨剆tdafx.h澶存枃浠舵湭緙栬瘧鎵鑷淬備篃鍙互榪欐牱瑙e喅錛氬厛F7錛岀紪璇戝悗鍐?ctrf+f7銆?br>鐪嬫潵浠涔堜笢瑗塊兘瑕佷粠鍘熺悊鍏ユ墜錛屾墠鑳芥洿瀹規槗鍦拌В鍐熾?/p> </td> </tr> </tbody> </table> <img src ="http://www.shnenglu.com/sduzgz/aggbug/125500.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/sduzgz/" target="_blank">sduzgz</a> 2010-09-01 10:12 <a href="http://www.shnenglu.com/sduzgz/archive/2010/09/01/125500.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>铔囧艦鐭╅樀鍒漢鐨勬柟娉?/title><link>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125496.html</link><dc:creator>sduzgz</dc:creator><author>sduzgz</author><pubDate>Wed, 01 Sep 2010 01:54:00 GMT</pubDate><guid>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125496.html</guid><wfw:comment>http://www.shnenglu.com/sduzgz/comments/125496.html</wfw:comment><comments>http://www.shnenglu.com/sduzgz/archive/2010/09/01/125496.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/sduzgz/comments/commentRss/125496.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/sduzgz/services/trackbacks/125496.html</trackback:ping><description><![CDATA[<div style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 4px; WIDTH: 98%; PADDING-RIGHT: 5px; FONT-SIZE: 13px; WORD-BREAK: break-all; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 4px"><span style="COLOR: #008080"> 1</span><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">iostream</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 2</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">#include </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">cmath</span><span style="COLOR: #000000">></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080"> 3</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">const</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> MAX </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">  </span><span style="COLOR: #000000">0xFF</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080"> 4</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">using</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">namespace</span><span style="COLOR: #000000"> std;<br></span><span style="COLOR: #008080"> 5</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> n;<br></span><span style="COLOR: #008080"> 6</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> G[MAX][MAX];<br></span><span style="COLOR: #008080"> 7</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> main(</span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080"> 8</span><span style="COLOR: #000000"><img id=Codehighlighter1_120_2118_Open_Image onclick="this.style.display='none'; Codehighlighter1_120_2118_Open_Text.style.display='none'; Codehighlighter1_120_2118_Closed_Image.style.display='inline'; Codehighlighter1_120_2118_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_120_2118_Closed_Image onclick="this.style.display='none'; Codehighlighter1_120_2118_Closed_Text.style.display='none'; Codehighlighter1_120_2118_Open_Image.style.display='inline'; Codehighlighter1_120_2118_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedBlock.gif"></span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_120_2118_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_120_2118_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080"> 9</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> i,j,n,cnt;<br></span><span style="COLOR: #008080">10</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(cin</span><span style="COLOR: #000000">>></span><span style="COLOR: #000000">n)<br></span><span style="COLOR: #008080">11</span><span style="COLOR: #000000"><img id=Codehighlighter1_175_2098_Open_Image onclick="this.style.display='none'; Codehighlighter1_175_2098_Open_Text.style.display='none'; Codehighlighter1_175_2098_Closed_Image.style.display='inline'; Codehighlighter1_175_2098_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_175_2098_Closed_Image onclick="this.style.display='none'; Codehighlighter1_175_2098_Closed_Text.style.display='none'; Codehighlighter1_175_2098_Open_Image.style.display='inline'; Codehighlighter1_175_2098_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">        </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_175_2098_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_175_2098_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">12</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                cnt </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">13</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                memset(G,</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">,</span><span style="COLOR: #0000ff">sizeof</span><span style="COLOR: #000000">(G));<br></span><span style="COLOR: #008080">14</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                G[</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">15</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                G[n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">n;<br></span><span style="COLOR: #008080">16</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> tx,ty;<br></span><span style="COLOR: #008080">17</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                cnt </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">18</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">19</span><span style="COLOR: #000000"><img id=Codehighlighter1_406_1837_Open_Image onclick="this.style.display='none'; Codehighlighter1_406_1837_Open_Text.style.display='none'; Codehighlighter1_406_1837_Closed_Image.style.display='inline'; Codehighlighter1_406_1837_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_406_1837_Closed_Image onclick="this.style.display='none'; Codehighlighter1_406_1837_Closed_Text.style.display='none'; Codehighlighter1_406_1837_Open_Image.style.display='inline'; Codehighlighter1_406_1837_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_406_1837_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_406_1837_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">20</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                        </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">%</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">==</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">)  </span><span style="COLOR: #008000">//</span><span style="COLOR: #008000">鍏充簬瀵硅綰垮縐扮殑鐐逛竴璧峰緱鍒幫紝涓婂崐閮ㄥ垎鐨勪粠宸︿笂欏剁偣鍊煎線鍚庢帹錛屼笅鍗婇儴鍒嗕粠鍙充笅欏剁偣寰鍓嶆帹</span><span style="COLOR: #008000"><br></span><span style="COLOR: #008080">21</span><span style="COLOR: #008000"><img id=Codehighlighter1_514_1139_Open_Image onclick="this.style.display='none'; Codehighlighter1_514_1139_Open_Text.style.display='none'; Codehighlighter1_514_1139_Closed_Image.style.display='inline'; Codehighlighter1_514_1139_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_514_1139_Closed_Image onclick="this.style.display='none'; Codehighlighter1_514_1139_Closed_Text.style.display='none'; Codehighlighter1_514_1139_Open_Image.style.display='inline'; Codehighlighter1_514_1139_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif"></span><span style="COLOR: #000000">                        </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_514_1139_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_514_1139_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">22</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                tx </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> i;ty </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">23</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                G[i][</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[i</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">24</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(tx </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">25</span><span style="COLOR: #000000"><img id=Codehighlighter1_698_807_Open_Image onclick="this.style.display='none'; Codehighlighter1_698_807_Open_Text.style.display='none'; Codehighlighter1_698_807_Closed_Image.style.display='inline'; Codehighlighter1_698_807_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_698_807_Closed_Image onclick="this.style.display='none'; Codehighlighter1_698_807_Closed_Text.style.display='none'; Codehighlighter1_698_807_Open_Image.style.display='inline'; Codehighlighter1_698_807_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_698_807_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_698_807_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">26</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                        G[</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">tx][</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][ty</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">27</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">28</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">29</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                tx </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">i</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;ty </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">30</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                G[tx][ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][ty] </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">31</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(tx </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">32</span><span style="COLOR: #000000"><img id=Codehighlighter1_1004_1113_Open_Image onclick="this.style.display='none'; Codehighlighter1_1004_1113_Open_Text.style.display='none'; Codehighlighter1_1004_1113_Closed_Image.style.display='inline'; Codehighlighter1_1004_1113_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1004_1113_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1004_1113_Closed_Text.style.display='none'; Codehighlighter1_1004_1113_Open_Image.style.display='inline'; Codehighlighter1_1004_1113_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1004_1113_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1004_1113_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">33</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                        G[</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">tx][</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][ty</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">34</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">35</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">36</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                        </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">37</span><span style="COLOR: #000000"><img id=Codehighlighter1_1194_1819_Open_Image onclick="this.style.display='none'; Codehighlighter1_1194_1819_Open_Text.style.display='none'; Codehighlighter1_1194_1819_Closed_Image.style.display='inline'; Codehighlighter1_1194_1819_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1194_1819_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1194_1819_Closed_Text.style.display='none'; Codehighlighter1_1194_1819_Open_Image.style.display='inline'; Codehighlighter1_1194_1819_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                        </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1194_1819_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1194_1819_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">38</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                tx </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;ty </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> i;<br></span><span style="COLOR: #008080">39</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                G[</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">][i] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">][i</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">40</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(ty </span><span style="COLOR: #000000">></span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">41</span><span style="COLOR: #000000"><img id=Codehighlighter1_1378_1487_Open_Image onclick="this.style.display='none'; Codehighlighter1_1378_1487_Open_Text.style.display='none'; Codehighlighter1_1378_1487_Closed_Image.style.display='inline'; Codehighlighter1_1378_1487_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1378_1487_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1378_1487_Closed_Text.style.display='none'; Codehighlighter1_1378_1487_Open_Image.style.display='inline'; Codehighlighter1_1378_1487_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1378_1487_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1378_1487_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">42</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                        G[</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">tx][</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][ty</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">43</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">44</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">45</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                tx </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;ty </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">i</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">46</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                G[tx][ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx][ty</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">47</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                </span><span style="COLOR: #0000ff">while</span><span style="COLOR: #000000">(ty </span><span style="COLOR: #000000"><</span><span style="COLOR: #000000"> n</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">48</span><span style="COLOR: #000000"><img id=Codehighlighter1_1684_1793_Open_Image onclick="this.style.display='none'; Codehighlighter1_1684_1793_Open_Text.style.display='none'; Codehighlighter1_1684_1793_Closed_Image.style.display='inline'; Codehighlighter1_1684_1793_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1684_1793_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1684_1793_Closed_Text.style.display='none'; Codehighlighter1_1684_1793_Open_Image.style.display='inline'; Codehighlighter1_1684_1793_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1684_1793_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1684_1793_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">49</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                        G[</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">tx][</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">ty] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> G[tx</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">][ty</span><span style="COLOR: #000000">-</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">50</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">51</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">52</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">53</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(i</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;i</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;i</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">54</span><span style="COLOR: #000000"><img id=Codehighlighter1_1888_2087_Open_Image onclick="this.style.display='none'; Codehighlighter1_1888_2087_Open_Text.style.display='none'; Codehighlighter1_1888_2087_Closed_Image.style.display='inline'; Codehighlighter1_1888_2087_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1888_2087_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1888_2087_Closed_Text.style.display='none'; Codehighlighter1_1888_2087_Open_Image.style.display='inline'; Codehighlighter1_1888_2087_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1888_2087_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1888_2087_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">55</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                        </span><span style="COLOR: #0000ff">for</span><span style="COLOR: #000000">(j</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;j</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">n;j</span><span style="COLOR: #000000">++</span><span style="COLOR: #000000">)<br></span><span style="COLOR: #008080">56</span><span style="COLOR: #000000"><img id=Codehighlighter1_1955_2033_Open_Image onclick="this.style.display='none'; Codehighlighter1_1955_2033_Open_Text.style.display='none'; Codehighlighter1_1955_2033_Closed_Image.style.display='inline'; Codehighlighter1_1955_2033_Closed_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif"><img style="DISPLAY: none" id=Codehighlighter1_1955_2033_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1955_2033_Closed_Text.style.display='none'; Codehighlighter1_1955_2033_Open_Image.style.display='inline'; Codehighlighter1_1955_2033_Open_Text.style.display='inline';" align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ContractedSubBlock.gif">                        </span><span style="BORDER-BOTTOM: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BACKGROUND-COLOR: #ffffff; DISPLAY: none; BORDER-TOP: #808080 1px solid; BORDER-RIGHT: #808080 1px solid" id=Codehighlighter1_1955_2033_Closed_Text><img src="http://www.shnenglu.com/Images/dot.gif"></span><span id=Codehighlighter1_1955_2033_Open_Text><span style="COLOR: #000000">{<br></span><span style="COLOR: #008080">57</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                                cout</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">G[i][j]</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">58</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">59</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">                        cout</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">endl;<br></span><span style="COLOR: #008080">60</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">                }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">61</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif"><br></span><span style="COLOR: #008080">62</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif">        }</span></span><span style="COLOR: #000000"><br></span><span style="COLOR: #008080">63</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/InBlock.gif">        </span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">0</span><span style="COLOR: #000000">;<br></span><span style="COLOR: #008080">64</span><span style="COLOR: #000000"><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/ExpandedBlockEnd.gif">}</span></span></div> <img src ="http://www.shnenglu.com/sduzgz/aggbug/125496.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/sduzgz/" target="_blank">sduzgz</a> 2010-09-01 09:54 <a href="http://www.shnenglu.com/sduzgz/archive/2010/09/01/125496.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>铔囧艦鐭╅樀http://www.shnenglu.com/sduzgz/archive/2010/09/01/125494.htmlsduzgzsduzgzWed, 01 Sep 2010 01:49:00 GMThttp://www.shnenglu.com/sduzgz/archive/2010/09/01/125494.htmlhttp://www.shnenglu.com/sduzgz/comments/125494.htmlhttp://www.shnenglu.com/sduzgz/archive/2010/09/01/125494.html#Feedback0http://www.shnenglu.com/sduzgz/comments/commentRss/125494.htmlhttp://www.shnenglu.com/sduzgz/services/trackbacks/125494.html闃呰鍏ㄦ枃

sduzgz 2010-09-01 09:49 鍙戣〃璇勮
]]>
闅忔満鏁版帓搴忔敼榪涚増http://www.shnenglu.com/sduzgz/archive/2010/08/30/125248.htmlsduzgzsduzgzMon, 30 Aug 2010 01:35:00 GMThttp://www.shnenglu.com/sduzgz/archive/2010/08/30/125248.htmlhttp://www.shnenglu.com/sduzgz/comments/125248.htmlhttp://www.shnenglu.com/sduzgz/archive/2010/08/30/125248.html#Feedback0http://www.shnenglu.com/sduzgz/comments/commentRss/125248.htmlhttp://www.shnenglu.com/sduzgz/services/trackbacks/125248.html#include<iostream>
#include
<stdlib.h>
#include
<time.h>
//#define MAXSIZE 1001
using namespace std;
int main()
{
int Array[101];//璇ユ暟緇勯噷瀛樻斁1鍒?000鐨勬暟
//int Store[1001];//榪欎釜鏁扮粍鐢ㄦ潵瑁呴殢鏈烘暟鐨?/span>
int sum=0,arraysum=0;
int temp,starti;
    
int i;
for (int i=0;i<=99;i++)// 姹?-1000鎬誨拰
 {
      Array[i]
=i+1;
    sum
=sum+Array[i];   
}

cout
<<"sum="<<sum<<endl;
//浜х敓1000涓殢鏈烘暟
srand((unsigned)time(NULL));
Array[
100]=rand()%100;
/*涓嬮潰瑕侀殢鏈轟駭鐢熶綅緗甶ndex鐒跺悗灝咥rray[index]涓婄殑鍏冪礌涓庢渶鍚庝竴涓綅緗笂鐨勫厓绱犱氦鎹?/span>*/
//cout<<Array[100]<<endl;
for (i=100;i>0;i--)
{
srand((unsigned)time(
0));//闅忔満鏁扮瀛愬湪寰幆澶栬繕鏄湪寰幆鍐呭憿錛?/span>
int index=rand()%100;
    cout
<<"index="<<index<<endl;
int temp1=Array[index];
    Array[index]
=Array[i];
    Array[i]
=temp1;
}

for(i=0;i<=100;i++)
{
   cout
<<Array[i]<<endl;
   arraysum
+=Array[i];
}

cout
<<"arraysum="<<arraysum<<endl;
int repeat;
    repeat
=arraysum-sum;
    cout
<<"repeat number is:"<<repeat<<endl;
/*涓嬮潰瑕佸鏁扮粍鎺掑簭騫舵寫鍑洪噸澶嶆暟*/
    
int k=0;
 
// 灝唕epeat浠庡墠999涓暟涓墧闄ょ殑鏂規硶1 :
     while(k<99)
{
    
if(Array[k]==repeat&&Array[k+1]==repeat)
    
{    
         Array[k]
=Array[k+2];
         Array[k
+2]=repeat;
    }

    
else if(Array[k]==repeat)
    
{
     Array[k]
=Array[k+1];
     Array[k
+1]=repeat;
    }
    
    k
++;
}


/*灝唕epeat浠庡墠999涓暟涓墧闄ょ殑鏂規硶2*/
    
/*while(k<99)
{
if(Array[k]==repeat&&Array[99]!=repeat)
{
int temp2=Array[k];
Array[k]=Array[99];
Array[99]=temp2;
}
else if(Array[k]==repeat&&Array[100]!=repeat)
{
int temp2=Array[k];
Array[k]=Array[100];
Array[100]=temp2;
}
else
    {
        k++;
   continue;
}
   k++;
}
*/

/*    for(int i=0;i<=10;i++)
    {
        cout<<Array[i]<<endl;
    }
*/

for(i=0;i<=98;i++)
{    
  
for(int j=1;j<=98-i;j++)
 
{
   
if(Array[j-1]>Array[j])
   
{
    temp
=Array[j-1];
    Array[j
-1]=Array[j];
    Array[j]
=temp;
   }

 }

}

    
//Array[99]=repeat;
    
//Array[100]=repeat;
for( i=0;i<=100;i++)
//printf("%d\n",Store[i]);
    cout<<Array[i]<<endl;
cout
<<"sum="<<i-1<<endl;
system(
"pause");
return 0;
}



sduzgz 2010-08-30 09:35 鍙戣〃璇勮
]]>
无码8090精品久久一区| 国产精品久久成人影院| 久久夜色精品国产噜噜亚洲a| 免费久久人人爽人人爽av| 久久青青草原亚洲av无码app| 丁香五月综合久久激情| 久久精品一区二区三区AV| 伊人久久大香线焦综合四虎| 久久久久久午夜精品| 婷婷久久综合九色综合98| 99久久做夜夜爱天天做精品| 亚洲国产成人久久综合一| 狠狠色噜噜色狠狠狠综合久久| 色综合色天天久久婷婷基地| 久久WWW免费人成一看片| 国产福利电影一区二区三区,免费久久久久久久精 | 国产精品久久久久乳精品爆 | 久久99国产精一区二区三区| 久久精品亚洲男人的天堂| .精品久久久麻豆国产精品| 亚洲伊人久久大香线蕉综合图片| 国产三级精品久久| 久久精品国产亚洲欧美| 97超级碰碰碰久久久久| 久久国产精品77777| 久久久av波多野一区二区| 亚洲人成精品久久久久| 久久这里有精品| 亚洲午夜精品久久久久久app| 久久久精品国产Sm最大网站| 国产99久久九九精品无码| 国产一区二区三区久久精品| 2020久久精品国产免费| 99999久久久久久亚洲| 国产一级持黄大片99久久| 国产精品99久久久久久人| 久久免费视频网站| 国内精品久久久久久久亚洲 | 国内精品久久久久影院老司| 久久久久青草线蕉综合超碰| 亚洲综合伊人久久大杳蕉|