锘??xml version="1.0" encoding="utf-8" standalone="yes"?>欧美+日本+国产+在线a∨观看,中文日韩在线视频,欧美激情一区二区三区http://www.shnenglu.com/shandongluzi/zh-cnSat, 29 Nov 2025 03:35:32 GMTSat, 29 Nov 2025 03:35:32 GMT60C鏃墮棿鍑芥暟澶у叏錛堣漿杞斤級http://www.shnenglu.com/shandongluzi/archive/2010/08/20/124111.html宀佹湀嫻侀?/dc:creator>宀佹湀嫻侀?/author>Fri, 20 Aug 2010 09:18:00 GMThttp://www.shnenglu.com/shandongluzi/archive/2010/08/20/124111.htmlhttp://www.shnenglu.com/shandongluzi/comments/124111.htmlhttp://www.shnenglu.com/shandongluzi/archive/2010/08/20/124111.html#Feedback0http://www.shnenglu.com/shandongluzi/comments/commentRss/124111.htmlhttp://www.shnenglu.com/shandongluzi/services/trackbacks/124111.html闃呰鍏ㄦ枃

]]>
Winxp涓嬪wireshark-0.99.7緙栬瘧http://www.shnenglu.com/shandongluzi/archive/2010/03/09/109302.html宀佹湀嫻侀?/dc:creator>宀佹湀嫻侀?/author>Tue, 09 Mar 2010 09:24:00 GMThttp://www.shnenglu.com/shandongluzi/archive/2010/03/09/109302.htmlhttp://www.shnenglu.com/shandongluzi/comments/109302.htmlhttp://www.shnenglu.com/shandongluzi/archive/2010/03/09/109302.html#Feedback1http://www.shnenglu.com/shandongluzi/comments/commentRss/109302.htmlhttp://www.shnenglu.com/shandongluzi/services/trackbacks/109302.htmlnmake -f Makefile.nmake verify_tools Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Checking for required applications: cl: /cygdrive/e/dev/vc6/VC98/BIN/cl link: /cygdrive/e/dev/vc6/VC98/BIN/link nmake: /cygdrive/e/dev/vc6/VC98/BIN/nmake bash: /usr/bin/bash bison: /usr/bin/bison flex: /usr/bin/flex env: /usr/bin/env grep: /usr/bin/grep /usr/bin/find: /usr/bin/find perl: /usr/bin/perl C:/python24/python.exe: /cygdrive/c/python24/python.exe sed: /usr/bin/sed unzip: /usr/bin/unzip wget: /usr/bin/wget ___________________________________________________________________ (6) 杈撳叆 nmake -f Makefile.nmake setup 鏉ュ畨瑁呯紪璇戞墍闇鐨勫簱. 濡傛灉澶辮觸, 璇蜂緷鎻愮ず鍘諱笅杞芥紜殑搴? (7) 杈撳叆 nmake -f Makefile.nmake distclean 鏉ユ竻闄ゆ簮浠g爜涓敤浜庡湪鍏朵粬騫沖彴涓嬬紪璇戠殑鏂囦歡. (8) 杈撳叆 nmake -f Makefile.nmake all 鏉ョ紪璇憌ireshark!!! 鎴戠敤鐨勬満鍣ㄩ厤緗負 P4 3.2GHz CPU, 1G RAM, 搴旇涓嶇畻寰堜綆浜? 浣嗙紪璇憌ireshark 榪樻槸鑺變簡浼間箮鏈?0鍒嗛挓鐨勬椂闂? 娉ㄦ剰: 濡傛灉鍦ㄧ紪璇戣繃紼嬩腑鍛戒護琛岀獥鍙e仠婊炰笉鍔? 鑰屾病鏈夊洖鍒?C:\wireshark, 涓嶈鍏蟲帀瀹?!! 鍥犱負姝ゆ椂緙栬瘧紼嬪簭姝e湪榪涜澶ч噺鐨勬搷浣?濡傛灉鐪熸湁浠涔堥敊璇? 緙栬瘧瀹屽悗浼氬憡璇変綘鐨? 鍒互涓轟綘鏈哄櫒姝繪満浜? 7. 榪愯緙栬瘧鍚庣殑紼嬪簭 鎵撳紑 C:\wireshark\wireshark-gtk2 鐩綍, 榪愯鍏朵腑鐨剋ireshark.exe. 鎬庝箞鏍?鐪嬪埌 鐔熸?zhèn)夌殑鐣岄潰浜嗗? 濡傛灉鏄? 紲濊春浣犵紪璇戞垚鍔?! 椹笂鎹曡幏涓涓寘璇曡瘯鍚? 鎵撳紑Help鑿滃崟,鏌ョ湅wireshark閫夐」鍗? 鐪嬬湅鍦ㄧ増鏈彿閭i噷鏄劇ず鐨勬槸涓嶆槸浣犺嚜宸卞畾涔夌殑鐗堟湰? 濡?Version 0.99.7-myversion". 涓嬮潰榪樻樉紺轟簡緙栬瘧鏃剁殑搴撳拰鍏朵粬涓浜涗俊鎭?

]]>
濡備綍瀹炵幇鐧句竾浜哄悓鏃跺湪綰垮茍淇濇寔娓告垙楂樻晥鐜?/title><link>http://www.shnenglu.com/shandongluzi/archive/2009/04/25/81008.html</link><dc:creator>宀佹湀嫻侀?/dc:creator><author>宀佹湀嫻侀?/author><pubDate>Sat, 25 Apr 2009 00:48:00 GMT</pubDate><guid>http://www.shnenglu.com/shandongluzi/archive/2009/04/25/81008.html</guid><wfw:comment>http://www.shnenglu.com/shandongluzi/comments/81008.html</wfw:comment><comments>http://www.shnenglu.com/shandongluzi/archive/2009/04/25/81008.html#Feedback</comments><slash:comments>4</slash:comments><wfw:commentRss>http://www.shnenglu.com/shandongluzi/comments/commentRss/81008.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/shandongluzi/services/trackbacks/81008.html</trackback:ping><description><![CDATA[ 浜嬪疄涓婏紝閽堝浜庝換浣曞崟涓鐨勭綉緇滄湇鍔″櫒紼嬪簭錛屽叾鍙壙鍙楃殑鍚屾椂榪炴帴鏁扮洰鏄湁鐞嗚宄板肩殑錛岄氳繃C錛嬶紜涓TSocket鐨勫畾涔夌被鍨嬶細word錛屾垜浠彲浠ュ垽瀹氳繖涓繛鎺ョ悊璁哄嘲鍊兼槸65535錛屼篃灝辨槸璇達紝浣犵殑鍗曚釜鏈嶅姟鍣ㄧ▼搴忥紝鏈澶氬彲浠ユ壙鍙?涓囧鐨勭敤鎴峰悓鏃惰繛鎺ャ備絾鏄紝鍦ㄥ疄闄呭簲鐢ㄤ腑錛岃兘杈懼埌涓涓囦漢鐨勫悓鏃惰繛鎺ュ茍鑳戒繚璇佹甯哥殑鏁版嵁浜ゆ崲宸茬粡鏄緢涓嶅鏄撲簡錛岄氬父榪欎釜鍊奸兘鍦?000鍒?000涔嬮棿錛屾嵁璇碤Q鐨勫崟鍙版湇鍔″櫒鍚屾椂榪炴帴鏁扮洰涔熷氨鏄湪榪欎釜鍊艱繖闂淬? 銆銆濡傛灉瑕佸疄鐜?000鍒?000鐢ㄦ埛鐨勫崟鏈嶅姟鍣ㄥ悓鏃跺湪綰匡紝鏄笉闅劇殑銆傚湪windows涓嬶紝姣旇緝鎴愮啛鐨勬妧鏈槸閲囩敤IOCP錛嶏紞瀹屾垚绔彛銆備笌瀹屾垚绔彛鐩稿叧鐨勮祫鏂欏湪緗戜笂鍜孋SDN璁哄潧閲屾湁寰堝錛屾劅鍏磋叮鐨勬湅鍙嬪彲浠ヨ嚜宸辨悳绱竴涓嬨傚彧瑕佽繍鐢ㄥ緱褰擄紝涓涓畬鎴愮鍙f湇鍔″櫒鏄畬鍏ㄥ彲浠ヨ揪鍒?K鍒?K鐨勫悓鏃跺湪綰塊噺鐨勩備絾錛?K榪欐牱鐨勬暟鍊肩鐧句竾榪欐牱鐨勬暟鍊煎疄鍦ㄧ浉宸お澶т簡錛屾墍浠ワ紝鐧句竾浜虹殑鍚屾椂鍦ㄧ嚎鏄崟鍙版湇鍔″櫒鑲畾鏃犳硶瀹炵幇鐨勩? 銆銆瑕佸疄鐜扮櫨涓囦漢鍚屾椂鍦ㄧ嚎錛岄鍏堣瀹炵幇涓涓瘮杈冨畬鍠勭殑瀹屾垚绔彛鏈嶅姟鍣ㄦā鍨嬶紝榪欎釜妯″瀷瑕佹眰鑷沖皯鍙互鎵胯澆2K鍒?K鐨勫悓鏃跺湪綰跨巼錛堝綋鐒訛紝濡傛灉浣燤ONEY澶氾紝浣犱篃鍙互鍙紑鍙戝嚭鏈澶氬厑璁?00浜哄湪綰跨殑鏈嶅姟鍣級銆傚湪鏋勫緩濂戒簡鍩烘湰鐨勫畬鎴愮鍙f湇鍔″櫒涔嬪悗錛屽氨鏄湁鍏蟲湇鍔″櫒緇勭殑鏋舵瀯璁捐浜嗐備箣鎵浠ヨ榪欐槸涓涓湇鍔″櫒緇勶紝鏄洜涓哄畠緇濅笉浠呬粎鍙槸涓鍙版湇鍔″櫒錛屼篃緇濅笉浠呬粎鏄彧鏈変竴縐嶇被鍨嬬殑鏈嶅姟鍣ㄣ? 銆銆綆鍗曞湴璇達紝瀹炵幇鐧句竾浜哄悓鏃跺湪綰跨殑鏈嶅姟鍣ㄦā鍨嬪簲璇ユ槸錛氬ぇ鍘呮湇鍔″櫒(TMLcenterserver)錛嬬櫥闄嗘湇鍔″櫒(MainServer)錛嬫埧闂存湇鍔″櫒(Localserver)銆? 褰撶劧錛屼篃鍙互鏄叾瀹冪殑妯″瀷錛屼絾鍏跺熀鏈殑鎬濇兂鏄竴鏍風(fēng)殑銆備笅闈紝鎴戝皢閫愪竴浠嬬粛榪欎笁綾繪湇鍔″櫒鐨勫悇鑷綔鐢ㄣ? 銆銆鐧婚檰鏈嶅姟鍣細涓鑸儏鍐典笅錛屾垜浠細鍚戠帺瀹跺紑鏀捐嫢騫蹭釜鍏紑鐨勭櫥闄嗘湇鍔″櫒錛屽氨濡俀Q鐧婚檰鏃惰浣犻夋嫨鐨勪粠鍝釜QQ娓告垙鏈嶅姟鍣ㄧ櫥闄嗕竴鏍鳳紝QQ鐧婚檰鏃惰鐜╁閫夋嫨鐨勫叚涓湇鍔″櫒鍏ュ彛瀹為檯涓婂氨鏄櫥闄嗘湇鍔″櫒銆傜櫥闄嗘湇鍔″櫒涓昏瀹屾垚璐熻澆騫寵 鐨勪綔鐢ㄣ傝緇嗙偣璇村氨鏄紝鍦ㄧ櫥闄嗘湇鍔″櫒鐨勮儗鍚庯紝鏈塏涓ぇ鍘呮湇鍔″櫒錛岀櫥闄嗘湇鍔″櫒鍙槸鐢ㄤ簬涓哄綋鍓嶇殑瀹㈡埛绔繛鎺ラ夋嫨鍏朵笅涓姝ュ簲璇ヨ繛鎺ュ埌鍝釜澶у巺鏈嶅姟鍣紝褰撶櫥闄嗘湇鍔″櫒涓哄綋鍓嶇殑瀹㈡埛绔繛鎺ラ夋嫨浜嗕竴涓悎閫傜殑澶у巺鏈嶅姟鍣ㄥ悗錛? 瀹㈡埛绔紑濮嬫牴鎹櫥闄嗘湇鍔″櫒鎻愪緵鐨勪俊鎭繛鎺ュ埌鐩稿簲鐨勫ぇ鍘呬笂鍘伙紝鍚屾椂瀹㈡埛绔柇寮涓庣櫥闄嗘湇鍔″櫒鐨勮繛鎺ワ紝涓哄叾浠栫帺瀹跺鎴風(fēng)榪炴帴鐧婚檰鏈嶅姟鍣ㄨ吘鍑哄鎺ュ瓧璧勬簮銆傚湪璁捐鐧婚檰鏈嶅姟鍣ㄦ椂錛岃嚦灝戝簲璇ユ湁浠ヤ笅鍔熻兘錛歂涓ぇ鍘呮湇鍔″櫒鐨勬瘡涓涓ぇ鍘呮湇鍔″櫒閮借涓庢墍鏈夌殑鐧婚檰鏈嶅姟鍣ㄤ繚鎸佽繛鎺ワ紝騫跺疄鏃跺湴鎶婃湰澶у巺鏈嶅姟鍣ㄥ綋鍓嶇殑鍚屾椂鍦ㄧ嚎浜烘暟閫氱煡緇欏悇涓櫥闄嗘湇鍔″櫒錛岃繖鍏朵腑鍖呮嫭錛氱敤鎴瘋繘鍏ユ椂鐨勫悓鏃跺湪綰夸漢鏁板鍔犱俊鎭互鍙婄敤鎴烽鍑烘椂鐨勫悓鏃跺湪綰夸漢鏁板噺灝戜俊鎭傝繖閲岀殑鍚勪釜澶у巺鏈嶅姟鍣ㄥ悓鏃跺湪綰夸漢鏁頒俊鎭氨鏄櫥闄嗘湇鍔″櫒涓哄鎴風(fēng)閫夋嫨鏌愪釜澶у巺璁╁叾鐧婚檰鐨勪緷鎹備婦渚嬫潵璇達紝鐜╁A閫氳繃鐧婚檰鏈嶅姟鍣?榪炴帴鍒扮櫥闄嗘湇鍔″櫒錛岀櫥闄嗘湇鍔″櫒寮濮嬩負褰撳墠鐜╁鍦ㄤ紬澶氱殑澶у巺鏈嶅姟鍣ㄤ腑鏍規(guī)嵁鍝竴涓ぇ鍘呮湇鍔″櫒浜烘暟姣旇緝?yōu)畱鏉ラ夋嫨涓涓ぇ鍘咃紝鍚屾椂鎶婅繖涓ぇ鍘呯殑榪炴帴IP鍜岀鍙e彂緇欏鎴風(fēng)錛屽鎴風(fēng)鏀跺埌榪欎釜IP鍜岀鍙d俊鎭悗錛屾牴鎹繖涓俊鎭繛鎺ュ埌姝ゅぇ鍘咃紝鍚屾椂錛屽鎴風(fēng)鏂紑涓庣櫥闄嗘湇鍔″櫒涔嬮棿鐨勮繛鎺ワ紝榪欎究鏄敤鎴風(fēng)櫥闄嗚繃紼嬩腑錛屽湪鐧婚檰鏈嶅姟鍣ㄨ繖涓鍧楃殑澶勭悊嫻佺▼銆? 銆銆澶у巺鏈嶅姟鍣細澶у巺鏈嶅姟鍣紝鏄櫘閫氱帺瀹剁湅涓嶅埌鐨勬湇鍔″櫒錛屽畠鐨勮繛鎺P鍜岀鍙d俊鎭槸鐧婚檰鏈嶅姟鍣ㄩ氱煡緇欏鎴風(fēng)鐨勩備篃灝辨槸璇達紝鍦ㄦ父鎴忕殑鏈湴鏂囦歡涓紝鍏蜂綋鐨勫ぇ鍘呮湇鍔″櫒榪炴帴IP鍜岀鍙d俊鎭槸娌℃湁淇濆瓨鐨勩傚ぇ鍘呮湇鍔″櫒鐨勪富瑕佷綔鐢ㄦ槸鍚戠帺瀹跺彂閫佹父鎴忔埧闂村垪琛ㄤ俊鎭紝榪欎簺淇℃伅鍖呮嫭錛氭瘡涓父鎴忔埧闂寸殑綾誨瀷錛屽悕縐幫紝鍦ㄧ嚎浜烘暟錛岃繛鎺ュ湴鍧浠ュ強鍏跺畠濡傛父鎴忓府鍔╂枃浠禪RL鐨勪俊鎭備粠鐣岄潰涓婄湅鐨勮瘽錛屽ぇ鍘呮湇鍔″櫒灝辨槸鎴戜滑杈撳叆鐢ㄦ埛鍚嶅拰瀵嗙爜騫舵牎楠岄氳繃鍚庤繘鍏ョ殑娓告垙鎴塊棿鍒楄〃鐣岄潰銆傚ぇ鍘呮湇鍔″櫒錛屼富瑕佹湁浠ヤ笅鍔熻兘錛氫竴鏄悜褰撳墠鐜╁騫挎挱鍚勪釜娓告垙鎴塊棿鍦ㄧ嚎浜烘暟淇℃伅錛涗簩鏄彁渚涙父鎴忕殑鐗堟湰浠ュ強涓嬭澆鍦板潃淇℃伅錛涗笁鏄彁渚涘悇涓父鎴忔埧闂存湇鍔″櫒鐨勮繛鎺P鍜岀鍙d俊鎭紱鍥涙槸鎻愪緵娓告垙甯姪鐨刄RL淇℃伅錛涗簲鏄彁渚涘叾瀹冩父鎴忚緟鍔╁姛鑳姐備絾鍦ㄨ繖浼楀鐨勫姛鑳戒腑錛屾湁涓鐐規(guī)槸鏈涓烘牳蹇冪殑錛屽嵆錛氫負鐜╁鎻愪緵榪涘叆鍏蜂綋鐨勬父鎴忔埧闂寸殑閫氶亾錛岃鐜╁欏哄埄榪涘叆鍏舵榪涘叆鐨勬父鎴忔埧闂淬傜帺瀹舵牴鎹悇涓父鎴忔埧闂村湪綰夸漢鏁幫紝鍒ゅ畾鑷繁榪涘叆鍝竴涓埧闂達紝鐒跺悗鍙屽嚮鏈嶅姟鍣ㄥ垪琛ㄤ腑鐨勬煇涓父鎴忔埧闂村悗鐜╁寮濮嬭繘鍏ユ父鎴忔埧闂存湇鍔″櫒銆? 銆銆娓告垙鎴塊棿鏈嶅姟鍣細娓告垙鎴塊棿鏈嶅姟鍣紝鍏蜂綋鍦拌灝辨槸濡傗滄枟鍦頒富1鈥濓紝鈥滄枟鍦頒富2鈥濊繖鏍風(fēng)殑娓告垙鎴塊棿銆傛父鎴忔埧闂存湇鍔″櫒鎵嶆槸鍏蜂綋鐨勮礋璐f墽琛屾父鎴忕浉鍏抽昏緫鐨勬湇鍔″櫒銆傝繖鏍風(fēng)殑娓告垙閫昏緫鍒嗕負涓ゅぇ綾伙細涓綾繪槸閫氱敤鐨勬父鎴忔埧闂撮昏緫錛屽錛氳繘鍏ユ埧闂達紝紱誨紑鎴塊棿錛岃繘鍏ユ瀛愶紝紱誨紑妗屽瓙浠ュ強鍦ㄦ埧闂村唴璇磋瘽絳夛紱絎簩綾繪槸娓告垙妗屽瓙閫昏緫錛岃繖涓氨鏄悇縐嶄笉鍚岀被鍨嬫父鎴忕殑涓昏鍖哄埆涔嬪浜嗭紝姣斿鏂楀湴涓諱腑鐨勫彨鍦頒富鎴栦笉鍙湴涓葷殑閫昏緫絳夛紝褰撶劧錛屾父鎴忔瀛愰昏緫閲屼篃鍖呮嫭鏈夐氱敤鐨勫悇涓父鎴忛噷閮藉瓨鍦ㄧ殑娓告垙閫昏緫錛屾瘮濡傚湪妗屽瓙鍐呰璇濈瓑銆傛諱箣錛屾父鎴忔埧闂存湇鍔″櫒鎵嶆槸鐪熸璐熻矗鎵ц娓告垙鍏蜂綋閫昏緫鐨勬湇鍔″櫒銆? 銆銆榪欓噷鎻愬埌鐨勪笁綾繪湇鍔″櫒錛屾垜鍧囬噰鐢ㄧ殑鏄畬鎴愮鍙fā鍨嬶紝姣忎釜鏈嶅姟鍣ㄦ渶澶氳繛鎺ユ暟鐩槸5000浜猴紝浣嗘槸錛屾垜鍦ㄦ父鎴忔埧闂存湇鍔″櫒涓婁綔浜嗛昏緫灞傜殑闄愬畾錛屾渶澶氬彧鍏佽300浜哄悓鏃跺湪綰褲傚叾浠栦袱涓湇鍔″櫒浠嶇劧鍏佽鏈澶?000浜虹殑鍚屾椂鍦ㄧ嚎銆傚鏋滄寜鐓ц繖鏍風(fēng)殑緇撴瀯鏉ヨ璁★紝閭d箞瑕佸疄鐜扮櫨涓囦漢鐨勫悓鏃跺湪綰垮氨搴旇鏄繖鏍鳳細棣栧厛鏄ぇ鍘咃紝1000000/5000錛?00銆備篃灝辨槸璇達紝鑷沖皯瑕?00鍙板ぇ鍘呮湇鍔″櫒錛屼絾閫氬父鎯呭喌涓嬶紝鑰冭檻鍒板疄闄呬嬌鐢ㄦ椂鏈嶅姟鍣ㄧ殑澶勭悊鑳藉姏鍜岃礋杞芥儏鍐碉紝搴旇鑷沖皯鍑嗗250鍙板乏鍙崇殑澶у巺鏈嶅姟鍣ㄧ▼搴忋傚彟澶栵紝鍏蜂綋鐨勫悇縐嶇被鍨嬬殑娓告垙鎴塊棿鏈嶅姟鍣ㄩ渶瑕佸灝戯紝灝辮鏍規(guī)嵁褰撳墠鐜╁悇縐嶇被鍨嬫父鎴忕殑鐜╁鏁扮洰鍒嗗埆璁$畻浜嗭紝姣斿鏂楀湴涓繪渶澶氭槸鍗佷竾浜哄悓鏃跺湪綰匡紝姣忓彴鏈嶅姟鍣ㄦ渶澶氬厑璁?00浜哄悓鏃跺湪綰匡紝閭d箞闇瑕佺殑鏂楀湴涓繪湇鍔″櫒鏁扮洰灝卞簲璇ヤ笉灝戜簬錛?00000/300=333錛屽噯澶囧緱鍏呭垎涓鐐癸紝灝辮鍑嗗350鍙版枟鍦頒富鏈嶅姟鍣ㄣ? 銆銆 闄ゆ甯哥殑鐜╁榪炴帴澶栵紝榪樿鑰冭檻鍒幫細 銆銆瀵逛簬鐧婚檰鏈嶅姟鍣紝浼氭湁250鍙板ぇ鍘呮湇鍔″櫒榪炴帴鍒版瘡涓櫥闄嗘湇鍔″櫒涓婏紝榪欐槸濮嬬粓閮借淇濇寔鐨勮繛鎺ワ紱 銆銆鑰屽浜庡ぇ鍘呮湇鍔″櫒鑰岃█錛屽鏋滀粎浠呮湁鏂楀湴涓昏繖涓綾葷殑鏈嶅姟鍣紝灝辮鏈?50澶氫釜榪炴帴涓庡悇涓ぇ鍘呮湇鍔″櫒濮嬬粓淇濇寔鐫銆傛牳蹇冩濇兂鏄細灝藉揩鍦版彁渚涚敤鎴風(fēng)櫥闄嗙殑閫熷害錛屽敖鍙兘鏂逛究鍦拌鐜╁榪涘叆娓告垙涓? <img src ="http://www.shnenglu.com/shandongluzi/aggbug/81008.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/shandongluzi/" target="_blank">宀佹湀嫻侀?/a> 2009-04-25 08:48 <a href="http://www.shnenglu.com/shandongluzi/archive/2009/04/25/81008.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏍?wèi)鍨嬪姩鎬佽鍒?/title><link>http://www.shnenglu.com/shandongluzi/archive/2008/10/16/64086.html</link><dc:creator>宀佹湀嫻侀?/dc:creator><author>宀佹湀嫻侀?/author><pubDate>Thu, 16 Oct 2008 00:51:00 GMT</pubDate><guid>http://www.shnenglu.com/shandongluzi/archive/2008/10/16/64086.html</guid><wfw:comment>http://www.shnenglu.com/shandongluzi/comments/64086.html</wfw:comment><comments>http://www.shnenglu.com/shandongluzi/archive/2008/10/16/64086.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/shandongluzi/comments/commentRss/64086.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/shandongluzi/services/trackbacks/64086.html</trackback:ping><description><![CDATA[鍏充簬浼犺涓殑"鏍?wèi)鍨嬪姩鎬佽鍒?鍦ㄨ璁洪鐩殑鏃跺機C鎻愬強榪囥傛渶榪戞湁騫告壘鍒頒竴綃囪鏂囷紝鐩稿綋嬋鍔紝鍙戠幇榪欎釜涓滀笢涔熸瘮鍔ㄦ佽鍒掓湰韜洿瀹規(guī)槗鐞嗚В銆?<br><br>鍏堟潵鐪嬩竴涓瘮杈冩湁鎸戞垬鎬х殑棰樼洰錛氾級 <br><br><font style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=#FFCC00,strength=3); PADDING-BOTTOM: 1px; COLOR: #ffffff; PADDING-TOP: 1px; HEIGHT: 10px"><strong><wbr></wbr><font color=#000000>鎴樼暐娓告垙</font></strong><wbr></wbr></font><wbr></wbr><font color=#000000> <br></font><br><font style="LINE-HEIGHT: 1.3em">Problem </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">Bob鍠滄鐜╃數(shù)鑴戞父鎴忥紝鐗瑰埆鏄垬鐣ユ父鎴忋備絾鏄粬緇忓父鏃犳硶鎵懼埌蹇熺帺榪囨父鎴忕殑鍔炴硶銆傜幇鍦ㄤ粬鏈変釜闂銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">浠栬寤虹珛涓涓彜鍩庡牎錛屽煄鍫′腑鐨勮礬褰㈡垚涓媯墊爲(wèi)銆備粬瑕佸湪榪欐5鏍?wèi)鐨劸l撶偣涓婃斁緗渶灝戞暟鐩殑澹叺錛屼嬌寰楄繖浜涘+鍏佃兘浜嗘湜鍒版墍鏈夌殑璺?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">娉ㄦ剰錛屾煇涓+鍏靛湪涓涓粨鐐逛笂鏃訛紝涓庤緇撶偣鐩歌繛鐨勬墍鏈夎竟灝嗛兘鍙互琚簡鏈涘埌銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">璇蜂綘緙栦竴紼嬪簭錛岀粰瀹氫竴鏍?wèi)锛屽府Bob璁$畻鍑轟粬闇瑕佹斁緗渶灝戠殑澹叺.</font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">Input </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">絎竴琛屼負涓鏁存暟錛紝琛ㄧず鏈夛輯緇勬祴璇曟暟鎹?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">姣忕粍嫻嬭瘯鏁版嵁琛ㄧず涓媯墊爲(wèi)錛屾弿榪板涓嬶細 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">絎竴琛?N錛岃〃紺烘爲(wèi)涓粨鐐圭殑鏁扮洰銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">絎簩琛岃嚦絎琋+1琛岋紝姣忚鎻忚堪姣忎釜緇撶偣淇℃伅錛屼緷嬈′負錛氳緇撶偣鏍囧彿i錛宬(鍚庨潰鏈塳鏉¤竟涓庣粨鐐笽鐩歌繛)銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鎺ヤ笅鏉涓暟錛屽垎鍒槸姣忔潯杈圭殑鍙︿竴涓粨鐐規(guī)爣鍙穜1錛宺2錛?..錛宺k銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">瀵逛簬涓涓猲(0<n<=1500)涓粨鐐圭殑鏍?wèi)锛尵l撶偣鏍囧彿鍦?鍒皀-1涔嬮棿錛屽湪杈撳叆鏁版嵁涓瘡鏉¤竟鍙嚭鐜頒竴嬈°?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">Output </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">杈撳嚭鏂囦歡浠呭寘鍚竴涓暟錛屼負鎵姹傜殑鏈灝戠殑澹叺鏁扮洰銆?/font><wbr></wbr> <br><br>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?wbr></wbr>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?<br><br>榪欎釜棰樼洰鏄?4騫撮珮浜屽噯澶嘚OIP鐨勬椂鍊欑湅鍒拌繃錛屽綋鏃舵墦姝繪病鏈夋兂鍑烘湁鏁堢殑瑙e喅鏂規(guī)硶銆傜劧鍚庡氨鎷跨潃棰樼洰鍘婚棶鎴戜滑寤栬佸笀錛屽粬鑰佸笀涓鎷垮埌棰樼洰棰樼洰榪樻病鐪嬪畬錛岀珛椹粰鍑轟簡瑙e喅鏂規(guī)錛氫笉浼氳冭繖涔堥毦鐨勯銆備簬鏄繖涓鐩篃灝遍仐鐣欎簡涓嬫潵錛屾病鎯沖埌浜嬮殧榪欎箞澶氬勾浠ュ悗鍙堥噸鏂拌璇嗕簡榪欎釜棰樼洰錛屽嶆劅浜插垏錛屽懙鍛祣銆?<br><br>榪欎釜棰樼洰鐪嬩笂鍘繪兂鍥捐錛岃椽蹇冩槸鏄庢樉閿欒鐨勩傜敤鍔ㄦ佽鍒掔殑鎬濇兂鍙互寰堟湁鏁堝湴瑙e喅銆傚氨鐪嬩綘鑳戒笉鑳界湅鍑烘潵鏄姩鎬佽鍒掋傚氨鍍忔潹娼囪鐨勶細鍔ㄦ佽鍒掕繖綾婚錛屽埆浜轟竴璇村氨鏄庣櫧錛岃嚜宸卞氨寰堥毦鎯沖埌銆?<br>鍦ㄧ粰鍑鴻繖涓鐩殑鐘舵佽漿縐繪柟紼嬩箣鍓嶏紝鎴戜滑鍏堜粠鏇寸畝鍗曠殑鏍?wèi)鍨嬪姩鎬佽鍒掑叆鎵嬶紝鐪嬬湅鍏朵粬涓浜涢鐩?<br><br>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <br>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <br><br><br><font style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=#FFCC00,strength=3); PADDING-BOTTOM: 1px; COLOR: #ffffff; PADDING-TOP: 1px; HEIGHT: 10px"><wbr></wbr><font color=#000000><strong>浜屽弶鑻規(guī)灉鏍?wbr></wbr></strong></font></font><wbr></wbr> <br><br><font style="LINE-HEIGHT: 1.3em">棰樼洰 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鏈変竴媯佃嫻鏋滄爲(wèi)錛屽鏋滄爲(wèi)鏋濇湁鍒嗗弶錛屼竴瀹氭槸鍒?鍙夛紙灝辨槸璇存病鏈夊彧鏈?涓効瀛愮殑緇撶偣錛?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">榪欐5鏍?wèi)鍏辨湁N涓粨鐐癸紙鍙跺瓙鐐規(guī)垨鑰呮爲(wèi)鏋濆垎鍙夌偣錛夛紝緙栧彿涓?-N,鏍?wèi)鏍咕~栧彿涓瀹氭槸1銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鎴戜滑鐢ㄤ竴鏍規(guī)爲(wèi)鏋濅袱绔繛鎺ョ殑緇撶偣鐨勭紪鍙鋒潵鎻忚堪涓鏍規(guī)爲(wèi)鏋濈殑浣嶇疆銆備笅闈㈡槸涓棰楁湁4涓爲(wèi)鏋濈殑鏍?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">   2   5 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">    \ / </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">     3   4 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">      \ / </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">       1 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鐜板湪榪欓鏍?wèi)鏋濇潯澶浜嗗Q岄渶瑕佸壀鏋濄備絾鏄竴浜涙爲(wèi)鏋濅笂闀挎湁鑻規(guī)灉銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">緇欏畾闇瑕佷繚鐣欑殑鏍?wèi)鏋濇暟閲忓Q屾眰鍑烘渶澶氳兘鐣欎綇澶氬皯鑻規(guī)灉銆?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">杈撳叆鏍煎紡 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">絎?琛?涓暟錛孨鍜孮(1<=Q<= N,1<N<=100)銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">N琛ㄧず鏍?wèi)鐨劸l撶偣鏁幫紝Q琛ㄧず瑕佷繚鐣欑殑鏍?wèi)鏋濇暟閲忋傛帴涓嬫潵N-1琛屾弿榪版爲(wèi)鏋濈殑淇℃伅銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">姣忚3涓暣鏁幫紝鍓嶄袱涓槸瀹冭繛鎺ョ殑緇撶偣鐨勭紪鍙楓傜3涓暟鏄繖鏍規(guī)爲(wèi)鏋濅笂鑻規(guī)灉鐨勬暟閲忋?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">姣忔牴鏍?wèi)鏋濅笂鐨勮嬕?guī)灉涓嶈秴榪?0000涓?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">杈撳嚭鏍煎紡 </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">涓涓暟錛屾渶澶氳兘鐣欎綇鐨勮嫻鏋滅殑鏁伴噺銆?</font><wbr></wbr><br><br>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?wbr></wbr>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?<br><br><strong><wbr></wbr>鍒嗘瀽錛?/strong><wbr></wbr>鍥犱負鏍?wèi)鏄簩鍙夌殑锛屾墍浠ョ姸鎬佽漿縐繪柟紼嬪緢瀹規(guī)槗鍐欏嚭錛?<br>鎴戜滑鐢╝[i][j]鎻忚堪鏍?wèi)锛宖[i][m]琛ㄧず絎琲涓妭鐐逛笅錛屽叡淇濈暀m涓爲(wèi)鏋濈殑鏈澶ц嫻鏋滄暟鐩?<br><strong><wbr></wbr>鏂圭▼錛?/strong><wbr></wbr><font style="LINE-HEIGHT: 1.3em">f[i][m]=mas{ f[L][n]+f[m-n-2]+a[i][L]+a[i][ R]} </font><wbr></wbr>0<=n<=m-2 鍏朵腑L,R涓篿鐨勫乏鍙沖瓙鏍?<br><br><font style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=#FFCC00,strength=3); PADDING-BOTTOM: 1px; COLOR: #ffffff; PADDING-TOP: 1px; HEIGHT: 10px"><strong><wbr></wbr><font color=#000000>閫夎</font></strong><wbr></wbr></font><wbr></wbr> <br><br><font style="LINE-HEIGHT: 1.3em">[闂鎻忚堪] </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鍦ㄥぇ瀛﹂噷姣忎釜瀛︾敓錛屼負浜嗚揪鍒頒竴瀹氱殑瀛﹀垎錛屽繀欏諱粠寰堝璇劇▼閲岄夋嫨涓浜涜紼嬫潵瀛︿範(fàn)錛屽湪璇劇▼閲屾湁浜涜紼嬪繀欏誨湪鏌愪簺璇劇▼涔嬪墠瀛︿範(fàn)錛屽楂樼瓑鏁板鎬繪槸鍦ㄥ叾瀹冭紼嬩箣鍓嶅涔?fàn)銆傜幇鍦ㄦ湁N闂ㄥ姛璇撅紝姣忛棬璇炬湁涓鍒嗭紝姣忛棬璇炬湁涓闂ㄦ垨娌℃湁鐩存帴鍏堜慨璇撅紙鑻ヨ紼媋鏄紼媌鐨勫厛淇鍗沖彧鏈夊瀹屼簡璇劇▼a錛屾墠鑳藉涔?fàn)璇窘E媌錛夈備竴涓鐢熻浠庤繖浜涜紼嬮噷閫夋嫨M闂ㄨ紼嬪涔?fàn)锛岄棶浠栬兘鑾峰緱鐨勬渶澶у鍒嗘槸澶氬皯錛?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">杈撳叆錛?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">絎竴琛屾湁涓や釜鏁存暟N,M鐢ㄧ┖鏍奸殧寮銆?1<=N<=200,1<=M<=150) </font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鎺ヤ笅鏉ョ殑N琛?絎琁+1琛屽寘鍚袱涓暣鏁発i鍜宻i, ki琛ㄧず絎琁闂ㄨ鐨勭洿鎺ュ厛淇錛宻i琛ㄧず絎琁闂ㄨ鐨勫鍒嗐傝嫢ki=0琛ㄧず娌℃湁鐩存帴鍏堜慨璇撅紙1<=ki<=N, 1<=si<=20錛夈?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em">杈撳嚭錛?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鍙湁涓琛岋紝閫塎闂ㄨ紼嬬殑鏈澶у緱鍒嗐?/font><wbr></wbr> <br><br>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?wbr></wbr>錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛嶏紞錛?<br><br><strong><wbr></wbr>鍒嗘瀽錛?/strong><wbr></wbr>榪欎釜棰樼洰鏄竴涓櫘閫氱殑鏍?wèi)锛屽叧閿楠鏄妸杩欎釜鏅氱殑鏍?wèi)铦{鎹負涓棰椾簩鍙夋爲(wèi)錛屽茍涓斿鐞嗙殑鏃跺欑壒孌婂鐞嗕竴涓嬪彸瀛愭爲(wèi)銆傛垜鑷涓烘櫘閫氭爲(wèi)杞寲涓轟簩鍙夋爲(wèi)浠ュ悗寰堥毦澶勭悊鍚勪釜鑺傜偣鐨勮緢浠藉叧緋伙紝浣嗘槸瀵逛簬榪欎釜棰樼洰鏉ヨ錛屽鏋滆妭鐐?,2,3閮芥槸鑺傜偣0鐨勫瀛?閭d箞杞崲鍚庝究鎴愪簡榪欐牱: <br>    0                         0             <br>  / |  \       ---->         / <br>1  2  3                  1錛?錛? <br>杈堜喚铏界劧鍙樹簡錛屼絾鏄繕鏄湁鍔炴硶澶勭悊鐨勩?<br><strong><wbr></wbr>鏂圭▼錛?/strong><wbr></wbr>f[i][k]琛ㄧず絎琲涓妭鐐逛笅鎬誨叡閫夋嫨k闂ㄨ鐨勬渶澶у緱鍒嗐俿[i]琛ㄧず璇劇▼i鐨勫緱鍒嗐傚垯 <br><font style="LINE-HEIGHT: 1.3em">f[i][k]=max{ s[i]+f[i.L][j]+f[i.R][k-j-1] , f[i.R][k] }</font><wbr></wbr> (0<=j<k) <br>鍏朵腑鍚庤竟閭d釜f[i.R][k]灝辨槸澶勭悊杞崲涓轟簩鍙夋爲(wèi)鏃剁殑鍏崇郴鐨勩?<br><br>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <br>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <br><br>鐪嬪埌榪欓噷錛屾爲(wèi)鍨嬪姩鎬佽鍒掑簲璇ュ彲浠ユ湁涓垵姝ヤ簡瑙d簡錛岄偅涔堟垜浠洖鍒版渶鍒濈殑閭d釜棰樼洰“鎴樼暐娓告垙”銆?<br><strong><wbr></wbr>鍒嗘瀽錛?/strong><wbr></wbr>棣栧厛閫夊畾涓涓妭鐐逛綔涓烘牴錛岀劧鍚庝粠鍙跺瓙鍚戜笂DP錛屽浜庢瘡涓妭鐐規(guī)潵璇達紝鍒嗗埆璁板綍瀹冩斁澹叺鍜屼笉鏀懼+鍏碉紝鍏跺瓙鏍?wèi)鐨勬渶灝戝+鍏墊暟銆傚鏋滆鑺傜偣鏀懼+鍏碉紝鍒欎笉浼氬埗綰﹀畠鐨勫瓙鏍?wèi)鍜岀埗浜插Q屼絾鏄鏋滀笉鏀懼+鍏碉紝鍒欎細鍏跺瓙鏍?wèi)鍜岀埗浜查兘浼氬奖鍝嶃傛墍浠ュ湪璁捐鍔ㄦ佽漿縐繪柟紼嬬殑鏃跺欒鏈夊紑闃旂殑鎬濊礬銆?<br><strong><wbr></wbr>鏂圭▼錛?/strong><wbr></wbr>f[v][0],f[v][1]鍒嗗埆琛ㄧず鑺傜偣v娌℃湁澹叺鍜屾湁澹叺鏃訛紝璇ュ瓙鏍?wèi)涓渶灝戠殑澹叺鏁般傛柟紼嬪垎涓や釜 <br><font style="LINE-HEIGHT: 1.3em">f[v][0]={ 鈭慺[v.Son][1] }</font><wbr></wbr>   //鑻ヨ鑺傜偣涓嶆斁澹叺,鍒欏畠鐨勫瀛愰兘鏀懼+鍏?<br><font style="LINE-HEIGHT: 1.3em">f[v][1]={ 鈭憁in{ f[v.Son][0], f[v.Son][1] }+1 }</font><wbr></wbr>    //鑻ヨ鑺傜偣鏀懼+鍏?鍒欏畠鐨勫瀛愬彲浠ユ斁澹叺涔熷彲浠ヤ笉鏀?<br><br>榪欐牱闂渚垮畬緹庤В鍐充簡,鏃墮棿澶嶆潅搴(n2) <br><br>涓嬮潰鍐嶆潵涓涓鐩綔涓烘濊礬鎵╁睍,鍜屽垰鍒氱殑棰樼洰綾諱技: <br><br><br><font style="PADDING-RIGHT: 1px; PADDING-LEFT: 1px; FILTER: glow(color=#FFCC00,strength=3); PADDING-BOTTOM: 1px; COLOR: #ffffff; PADDING-TOP: 1px; HEIGHT: 10px"><strong><wbr></wbr><font color=#000000>娌℃湁涓婂徃鐨勬櫄浼?/font></strong><wbr></wbr></font><wbr></wbr> <br><br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>鑳屾櫙</font><wbr></wbr> <br><font style="LINE-HEIGHT: 1.3em">鏈変釜鍏徃瑕佷婦琛屼竴鍦烘櫄浼氥?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">涓轟簡鑳界帺寰楀紑蹇冿紝鍏徃棰嗗鍐沖畾錛氬鏋滈個璇蜂簡鏌愪釜浜猴紝閭d箞涓瀹氫笉浼氶個璇蜂粬鐨勪笂鍙?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">錛堜笂鍙哥殑涓婂徃錛屼笂鍙哥殑涓婂徃鐨勪笂鍙?#8230;…閮藉彲浠ラ個璇鳳級銆?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>棰樼洰</font><wbr></wbr> <br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>姣忎釜鍙傚姞鏅氫細鐨勪漢閮借兘涓烘櫄浼氬娣諱竴浜涙皵姘涳紝姹備竴涓個璇鋒柟妗堬紝浣挎皵姘涘肩殑鍜屾渶澶с?/font><wbr></wbr> <br><br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>杈撳叆鏍煎紡</font><wbr></wbr> <br><font style="LINE-HEIGHT: 1.3em">絎?琛屼竴涓暣鏁癗錛?<=N<=6000錛夎〃紺哄叕鍙哥殑浜烘暟銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鎺ヤ笅鏉琛屾瘡琛屼竴涓暣鏁般傜i琛岀殑鏁拌〃紺虹i涓漢鐨勬皵姘涘紉(-128<=x<=127)銆?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">鎺ヤ笅鏉ユ瘡琛屼袱涓暣鏁癓錛孠銆傝〃紺虹K涓漢鏄L涓漢鐨勪笂鍙搞?</font><wbr></wbr><br><font style="LINE-HEIGHT: 1.3em">杈撳叆浠? 0緇撴潫銆?/font><wbr></wbr> <br><br><br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>杈撳嚭鏍煎紡</font><wbr></wbr> <br><font style="LINE-HEIGHT: 1.3em" face=浠垮畫_GB2312>涓涓暟錛屾渶澶х殑姘旀皼鍊煎拰銆?/font><wbr></wbr> <br> <img src ="http://www.shnenglu.com/shandongluzi/aggbug/64086.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/shandongluzi/" target="_blank">宀佹湀嫻侀?/a> 2008-10-16 08:51 <a href="http://www.shnenglu.com/shandongluzi/archive/2008/10/16/64086.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>1062 Text Reversehttp://www.shnenglu.com/shandongluzi/archive/2008/10/09/63579.html宀佹湀嫻侀?/dc:creator>宀佹湀嫻侀?/author>Thu, 09 Oct 2008 11:32:00 GMThttp://www.shnenglu.com/shandongluzi/archive/2008/10/09/63579.htmlhttp://www.shnenglu.com/shandongluzi/comments/63579.htmlhttp://www.shnenglu.com/shandongluzi/archive/2008/10/09/63579.html#Feedback0http://www.shnenglu.com/shandongluzi/comments/commentRss/63579.htmlhttp://www.shnenglu.com/shandongluzi/services/trackbacks/63579.htmlText Reverse Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 1391    Accepted Submission(s): 577


Problem Description
Ignatius likes to write words in reverse way. Given a single line of text which is written by Ignatius, you should reverse all the words and then output them.
 

Input
The input contains several test cases. The first line of the input is a single integer T which is the number of test cases. T test cases follow.
Each test case contains a single line with several words. There will be at most 1000 characters in a line.
 

Output
For each test case, you should output the text which is processed.
 

Sample Input
3
olleh !dlrow
m'I morf .udh
I ekil .mca
 

Sample Output
hello world!
I'm from hdu.
I like acm.
Hint
Remember to use getchar() to read '\n' after the interger T, then you may use gets() to read a line and process it.
 

Author
Ignatius.L
 
#include <stdio.h>
#include <string.h>
int main()
{
    int i=0,n,length,t,j;
    char ch,p[1001],temp;
    scanf("%d",&n);
    ch=getchar();
    while(n--)
    {
        gets(p);
        length=strlen(p);
        t=0;
        for(i=0;i<=length;i++)
        {
            if(p[i]==' '||p[i]=='\0')
            {
               for(j=t;j<(i+t)/2;j++)
            {
                temp=p[j];
                p[j]=p[i-j+t-1];
                p[i-j+t-1]=temp;
            }
            t=i+1;
            }
   
        }   
        printf("%s\n",p);
   
    }
    return 0;
}


]]>
Problem H: Reverse Roman Notationhttp://www.shnenglu.com/shandongluzi/archive/2008/09/23/62626.html宀佹湀嫻侀?/dc:creator>宀佹湀嫻侀?/author>Tue, 23 Sep 2008 12:51:00 GMThttp://www.shnenglu.com/shandongluzi/archive/2008/09/23/62626.htmlhttp://www.shnenglu.com/shandongluzi/comments/62626.htmlhttp://www.shnenglu.com/shandongluzi/archive/2008/09/23/62626.html#Feedback0http://www.shnenglu.com/shandongluzi/comments/commentRss/62626.htmlhttp://www.shnenglu.com/shandongluzi/services/trackbacks/62626.html#include <stdio.h>
#include <string.h>
#include <ctype.h>
char * index( const char *s, int c);
/*
** State machine for romantoint
**
**        M       D       C       L       X       V       I
**  0: +1000/0  +500/0  +100/1   +50/0   +10/2    +5/0    +1/3
**  1:  +800/0   --     +100/0   +50/0   +10/2    +5/0    +1/3
**  2:   --      --      +80/0   +30/0   +10/2    +5/0    +1/3
**  3:   --      --      --      --       +8/0    +3/0    +1/3
**
*/

int FromRoman(char *s)
{
    int n=0;
    int prev=0;

    while (*s!=' '&&*s!=NULL) {
        switch (toupper(*s))
        {
            case 'M':   n += 1000 - prev*2;
                        prev=0;
                        break;
            case 'D':   n +=  500 - prev*2;
                        prev=0;
                        break;
            case 'C':   n +=  100;
                        if (prev < 100) n -= 2*prev;
                        prev=100;
                        break;
            case 'L':   n +=   50;
                        if (prev <  50) n -= 2*prev;
                        prev=0;
                        break;
            case 'X':   n +=   10;
                        if (prev <  10) n -= 2*prev;
                        prev=10;
                        break;
            case 'V':   n +=    5;
                        if (prev <   5) n -= 2*prev;
                        prev=0;
                        break;
            case 'I':   n +=    1;
                        prev=1;
                        break;
        }
        s++;
    }
    return n;
}

void PrintRoman(int n)
{

    if (n<=0 || n>4999)
     {
        printf("out of range exception\n");
        return;
    }

    while (n/1000)
    {
        printf("M");
        n -= 1000;
    }

    switch(n/100)
    {
        case 0: break;
        case 1: printf("C");    break;
        case 2: printf("CC");   break;
        case 3: printf("CCC");  break;
        case 4: printf("CD");   break;
        case 5: printf("D");    break;
        case 6: printf("DC");   break;
        case 7: printf("DCC");  break;
        case 8: printf("DCCC"); break;
        case 9: printf("CM");   break;
    }
    n %= 100;

    switch(n/10)
     {
        case 0: break;
        case 1: printf("X");    break;
        case 2: printf("XX");   break;
        case 3: printf("XXX");  break;
        case 4: printf("XL");   break;
        case 5: printf("L");    break;
        case 6: printf("LX");   break;
        case 7: printf("LXX");  break;
        case 8: printf("LXXX"); break;
        case 9: printf("XC");   break;
    }
    n %= 10;
    switch(n) {
        case 0: break;
        case 1: printf("I");    break;
        case 2: printf("II");   break;
        case 3: printf("III");  break;
        case 4: printf("IV");   break;
        case 5: printf("V");    break;
        case 6: printf("VI");   break;
        case 7: printf("VII");  break;
        case 8: printf("VIII"); break;
        case 9: printf("IX");   break;
    }

    printf("\n");
}

#define STACKSIZE 1024
int nitems=0;
int stack[STACKSIZE];

int Pop()
{
    if (!nitems) {
        printf("stack underflow\n");
        return 0;
    }

    return stack[--nitems];
}

void Push(int n)
{
    if (nitems == STACKSIZE-1) {
        printf("stack overflow\n");
        return;
    }

    stack[nitems++] = n;
}


int PrintTop(void)
{
    if (!nitems) {
        printf("stack underflow\n");
        return -1;
    }
    else {
        PrintRoman(stack[nitems-1]);
        return 0;
    }
}

int PerformAdd(void)
{
    int x,y;
    if (nitems < 2) {
        printf("stack underflow\n");
        return -1;
    }

    y = Pop();
    x = Pop();
   
    Push(x+y);

    return 0;
}

int PerformSub(void)
{
    int x,y;
    if (nitems < 2) {
        printf("stack underflow\n");
        return -1;
    }

    y = Pop();
    x = Pop();
   
    Push(x-y);

    return 0;
}

int PerformMul(void)
{
    int x,y;
    if (nitems < 2) {
        printf("stack underflow\n");
        return -1;
    }

    y = Pop();
    x = Pop();
   
    Push(x*y);

    return 0;
}

int PerformDiv(void)
{
    int x,y;
    if (nitems < 2) {
        printf("stack underflow\n");
        return -1;
    }

    y = Pop();
    x = Pop();
   
    if (y!=0)
        Push(x/y);
    else {
        printf("division by zero exception\n");
        Push(x);
    }

    return 0;
}

main()
{
    char line[256];
 //freopen("H.in","r",stdin);
// freopen("H.out","w",stdout);
    while (fgets(line,sizeof(line),stdin)) {
        if (line[0] == '=')
            PrintTop();
        else if (line[0] == '+')
            PerformAdd();
        else if (line[0] == '-')
            PerformSub();
        else if (line[0] == '*')
            PerformMul();
        else if (line[0] == '/')
            PerformDiv();
        else {
            int n = FromRoman(line);
            if (n > 0) {
                Push(n);
            }
        }
    }
}

 



]]>
鐙肩殑鏍艱█http://www.shnenglu.com/shandongluzi/archive/2008/08/14/58811.html宀佹湀嫻侀?/dc:creator>宀佹湀嫻侀?/author>Thu, 14 Aug 2008 01:41:00 GMThttp://www.shnenglu.com/shandongluzi/archive/2008/08/14/58811.htmlhttp://www.shnenglu.com/shandongluzi/comments/58811.htmlhttp://www.shnenglu.com/shandongluzi/archive/2008/08/14/58811.html#Feedback0http://www.shnenglu.com/shandongluzi/comments/commentRss/58811.htmlhttp://www.shnenglu.com/shandongluzi/services/trackbacks/58811.html鐙肩殑鏍艱█
  涓銆?nbsp; 鍗ц柂灝濊儐( o8 R; y" Z. q& N/ j( F) O
鐙間笉浼氫負浜嗘墍璋撶殑灝婁弗鍦ㄨ嚜宸卞急灝忔椂鏀誨嚮姣旇嚜宸卞己澶х殑涓滆タ6 I6 F0 h% B4 ?+ N3 y9 v
浜屻?nbsp; 浼楃嫾涓蹇?font style="FONT-SIZE: 0px; COLOR: #fff">* B, B  Q7 {* e. q  t
濡傛灉鐙間笉寰椾笉闈㈠姣旇嚜宸卞己澶х殑涓滆タ錛屽繀緹よ搗鑰屾敾涔?font style="FONT-SIZE: 0px; COLOR: #fff">- r/ p% G& t# |( p& z7 D
涓夈?nbsp; 鑷煡涔嬫槑
- F% p/ z$ Y* B+ q  w8 K( Z, k3 ^2 `鐙煎緢鎯沖綋鍏界帇錛岃岀嫾鐭ラ亾鑷繁鏄嫾鑰屼笉鏄檸: |4 ?% b  D1 D# Q' ~! a$ b
鍥涖?nbsp; 欏烘按琛岃垷3 A8 J+ i2 Y  W2 ?& R+ z# O' Q4 a( Y
鐙肩煡閬撳浣曠敤鏈灝忕殑浠d環(huán)鎹㈠彇鏈澶х殑鍥炴姤
2 l& R/ o) O: F" V7 g" ?+ p; P7 o) j浜斻?nbsp; 鍚岃繘鍚岄
+ r4 K2 h& D2 u; [- |) t鐙艱櫧鐒墮氬父鐙嚜媧誨姩錛屼絾鐙兼槸鏈鍥㈢粨鐨勶紝浣犱笉浼氬彂鐜板摢鍙嫾鍦ㄥ悓浼村彈浼ゆ椂鐙嚜閫冭蛋% c9 R" d# D, O. p+ L/ g) o
鍏?nbsp; 琛ㄩ噷濡備竴2 ^' f+ j5 h! [7 E& u) h% @
鐙間篃寰堟兂鍠勮壇錛屼絾鐙肩煡閬撹嚜宸辯殑鑳冭兘娑堝寲浠涔堬紝鎵浠ョ嫾姣忔閮藉共騫插噣鍑鐨勫悆鎺夋瘡嬈$殑鐚庣墿錛屽彲鏈変簺鑷涓?#8220;鍠勮壇”鐨勫姩鐗╁嵈鍦ㄩ厭搴楅キ搴勯噷鍋氫簺涓嶆槸“寰堝杽鑹?#8221;鐨勪簨( w( D& P8 ?8 ~# G' g
涓冦?nbsp; 鐙間害閽熸儏9 Z, ~( g) G9 R; [$ p- Q
鐙間細涓鐩村畧鍦ㄦ瀛曠殑姣嶇嫾韜竟鐩磋嚦灝忕嫾闀垮ぇ錛屽彲鏌愪簺鑷涓?#8220;鍞竴鏈夋劅鎯?#8221;鐨勫姩鐗╋紝鍗村湪濡誨瓙鎬瀛曟椂鍦ㄥ鑺卞ぉ閰掑湴
) ]* l) |# B0 z鍏?nbsp; 鎺堢嫾浠ユ笖
5 Z3 ]! p8 f# {鐙間細鍦ㄥ皬鐙兼湁鐙珛鑳藉姏鐨勬椂鍊欏潥鍐崇殑紱誨紑浠栵紝鍥犱負鐙肩煡閬擄紝濡傛灉褰撲笉鎴愮嫾閭e氨鍙兘褰撶緤9 x1 D% C, G. s! [3 E+ g5 a
涔?jié)銆?nbsp; 鑷敱鍙吹
9 \4 r! x+ q! p' s$ a( ^鐙間笉浼氫負浜嗛鐗╄屼笉欏懼皧涓ョ殑鍚戜富浜烘憞澶存憜灝撅紝鍥犱負鐙肩煡閬擄紝涓嶅彲鏈夊偛姘旓紝浣嗗喅涓嶅彲鏃犲偛楠?br>  }. C$ N  `. _+ }! t鍗併?nbsp; 灝婇噸瀵規(guī)墜
' k+ d! U9 {8 o  n- }- A鐙煎皧閲嶆瘡涓鎵嬶紝鐙煎湪姣忔鏀誨嚮鍓嶉兘浼氬幓浜嗚В瀵規(guī)墜錛岃屼笉浼氬幓杞昏浠栵紝鎵浠ョ嫾涓鐢熺殑鏀誨嚮寰堝皯澶辮


]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美激情国产日韩| 在线观看一区视频| 亚洲一区二区三区乱码aⅴ| 亚洲专区在线| 国产欧美日本| 老色鬼精品视频在线观看播放| 欧美激情免费观看| 亚洲性xxxx| 国产亚洲欧美一区二区| 麻豆国产va免费精品高清在线| 亚洲欧洲精品一区二区三区| 亚洲综合色在线| 国产综合久久久久久| 欧美a级片一区| 亚洲尤物在线视频观看| 美女视频网站黄色亚洲| 一本色道精品久久一区二区三区| 国产伦精品一区二区三区免费| 久久精品欧美日韩| 日韩一二在线观看| 久久久中精品2020中文| 日韩视频精品| 国产综合自拍| 欧美片在线观看| 久久国内精品自在自线400部| 亚洲激情小视频| 久久精品91久久久久久再现| 99精品国产福利在线观看免费| 国产免费观看久久| 欧美黑人国产人伦爽爽爽| 亚洲欧美日韩精品久久久| 亚洲高清一区二| 久久成人综合视频| 中文高清一区| 亚洲国产成人久久综合| 国产欧美一区二区三区久久人妖| 欧美大片免费看| 久久久999精品| 亚洲欧美日韩精品久久久| 亚洲片区在线| 牛牛影视久久网| 欧美一区二视频在线免费观看| 日韩亚洲欧美高清| 在线观看国产一区二区| 国产精品一区三区| 欧美日韩亚洲一区二区三区在线 | 亚洲伊人第一页| 在线日韩欧美| 国产日韩一区| 国产精品美女久久| 欧美日韩免费观看一区| 免费在线观看一区二区| 久久九九国产| 久久狠狠一本精品综合网| 亚洲永久免费精品| 制服丝袜亚洲播放| 一本久久a久久精品亚洲| 亚洲国产成人精品久久| 男人天堂欧美日韩| 久久在线91| 久久字幕精品一区| 久久久九九九九| 久久成人一区| 久久久久国产精品一区| 欧美永久精品| 欧美一区影院| 久久精品91久久久久久再现| 午夜久久久久久| 欧美一区二区在线观看| 性色av一区二区三区在线观看| 亚洲一区二区三区中文字幕在线| 一区二区三区四区五区视频| 99精品热视频| 亚洲视频在线免费观看| 亚洲一区二区三区色| 亚洲欧美国产77777| 亚洲欧美日韩国产中文| 欧美一区二区在线免费观看| 久久福利一区| 玖玖在线精品| 欧美激情精品久久久| 亚洲国内欧美| 99国产欧美久久久精品| 日韩视频一区二区三区在线播放| 一本色道久久综合狠狠躁篇的优点| 99re6这里只有精品| 国产精品99久久久久久www| 午夜欧美精品| 久久亚洲精品中文字幕冲田杏梨| 理论片一区二区在线| 欧美国产91| 国产精品美女久久久久av超清| 国产女精品视频网站免费| 国内久久婷婷综合| 亚洲精品1区2区| 中文有码久久| 久久精品欧美| 亚洲国产毛片完整版| 亚洲作爱视频| 欧美影院一区| 欧美激情精品久久久六区热门| 欧美网站在线| 一区二区在线免费观看| 日韩一区二区福利| 久久国产精品99国产| 欧美国产第二页| 亚洲视频在线一区| 久久久久久伊人| 欧美视频一区二区三区…| 国产麻豆午夜三级精品| 亚洲国产精品成人| 亚洲欧美日韩精品在线| 免费视频亚洲| 亚洲一区综合| 欧美xxx在线观看| 国产欧美精品一区| 亚洲精品久久久久久一区二区| 午夜在线观看免费一区| 欧美成人综合在线| 亚洲免费小视频| 欧美国产乱视频| 国产自产2019最新不卡| 在线一区二区视频| 蜜臀久久久99精品久久久久久| 一区二区三区精品视频| 麻豆精品一区二区综合av| 国产精品亚洲片夜色在线| 亚洲精品乱码久久久久久| 久久久99国产精品免费| 99天天综合性| 欧美成人精品高清在线播放| 国产视频在线观看一区二区| 在线视频亚洲| 亚洲第一黄网| 久久精品夜色噜噜亚洲a∨| 国产精品www网站| 亚洲毛片播放| 欧美a级片一区| 欧美一区二区三区在线观看视频| 欧美三级视频在线| 日韩视频一区二区三区| 免费成人性网站| 欧美在线一二三四区| 国产精品日韩在线| 亚洲综合色网站| 亚洲精选久久| 欧美激情亚洲视频| 亚洲国产小视频| 免费亚洲一区二区| 久久精品盗摄| 狠狠色狠狠色综合日日tαg | 久久久久九九视频| 亚洲午夜一区| 国产精品高精视频免费| 亚洲午夜国产一区99re久久| 91久久精品国产| 欧美不卡一区| 亚洲精品一区二区三区四区高清 | 亚洲一二区在线| 欧美午夜久久久| 亚洲一区二区免费在线| 99成人精品| 国产精品xxx在线观看www| 亚洲网友自拍| 亚洲无限乱码一二三四麻| 欧美日韩亚洲一区二区三区四区| 99视频一区二区三区| 亚洲人成网站999久久久综合| 欧美激情一区二区三区全黄 | 欧美大片一区二区| 亚洲精选视频免费看| 亚洲精品色图| 欧美性久久久| 欧美在线一二三| 欧美一区1区三区3区公司| 国产自产v一区二区三区c| 媚黑女一区二区| 欧美电影免费| 亚洲欧美日韩国产综合在线| 午夜视频精品| 在线播放中文字幕一区| 亚洲国产一区二区三区高清 | 国产精品啊啊啊| 欧美影院成人| 久久免费99精品久久久久久| 亚洲国产91精品在线观看| 亚洲精品亚洲人成人网| 国产精品久久91| 久久久久欧美| 欧美精品久久99| 午夜久久美女| 免费观看在线综合| 亚洲视频网在线直播| 午夜一区在线| 91久久精品www人人做人人爽| 亚洲精一区二区三区| 国产欧美日韩精品在线| 欧美大片va欧美在线播放| 欧美视频在线一区| 久久综合婷婷|