﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博客园-蔚蓝天空-最新评论</title><link>http://www.cnblogs.com/lanshh/CommentsRSS.aspx</link><description /><language>zh-cn</language><pubDate>Sun, 22 Jan 2012 14:44:11 GMT</pubDate><lastBuildDate>Sun, 22 Jan 2012 14:44:11 GMT</lastBuildDate><generator>cnblogs</generator><item><title>Re:2011年最后一小时</title><link>http://www.cnblogs.com/lanshh/archive/2012/01/22/2328865.html#2297445</link><dc:creator>晓岚</dc:creator><author>晓岚</author><pubDate>Sun, 22 Jan 2012 14:45:48 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2012/01/22/2328865.html#2297445</guid><description><![CDATA[Baby 产房<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">晓岚</a> 2012-01-22 22:45 <a href="http://www.cnblogs.com/lanshh/archive/2012/01/22/2328865.html#2297445#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Server.MapPath() 探究</title><link>http://www.cnblogs.com/lanshh/archive/2009/06/24/438826.html#1567503</link><dc:creator>郎涛</dc:creator><author>郎涛</author><pubDate>Wed, 24 Jun 2009 12:08:07 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2009/06/24/438826.html#1567503</guid><description><![CDATA[类文件中可用 HttpContext.Current.Server.MapPath() <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">郎涛</a> 2009-06-24 20:08 <a href="http://www.cnblogs.com/lanshh/archive/2009/06/24/438826.html#1567503#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 2008年的最后一分钟</title><link>http://www.cnblogs.com/lanshh/archive/2009/01/01/1366392.html#1418775</link><dc:creator>丁学</dc:creator><author>丁学</author><pubDate>Wed, 31 Dec 2008 16:26:22 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2009/01/01/1366392.html#1418775</guid><description><![CDATA[已经过去快半个小时了～～<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">丁学</a> 2009-01-01 00:26 <a href="http://www.cnblogs.com/lanshh/archive/2009/01/01/1366392.html#1418775#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET + MySQL问题解决步骤</title><link>http://www.cnblogs.com/lanshh/archive/2008/11/09/593501.html#1365121</link><dc:creator>niu</dc:creator><author>niu</author><pubDate>Sun, 09 Nov 2008 02:33:48 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/11/09/593501.html#1365121</guid><description><![CDATA[MySQLConnectionString构造函数的server参数谁什么？可以是IP吗？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">niu</a> 2008-11-09 10:33 <a href="http://www.cnblogs.com/lanshh/archive/2008/11/09/593501.html#1365121#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 子数组的最大和 最大子数组</title><link>http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270896</link><dc:creator>新手11223sdfsd</dc:creator><author>新手11223sdfsd</author><pubDate>Tue, 29 Jul 2008 05:20:04 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270896</guid><description><![CDATA[public class MaxSubArray<br/>...{<br/>    public static void main(String[] args)<br/>    ...{<br/>        ArrayList&lt;int[]&gt; testData = new ArrayList&lt;int[]&gt;();<br/>        //这是一些测试用的数组<br/>        testData.add(new int[]...{-7,15,2,-5,12,6,-26});<br/>        testData.add(new int[]...{1});<br/>        testData.add(new int[]...{12, -8, 5, 66, -21, 0,35, -44,7});<br/>        testData.add(new int[]...{-100,-100,-100,-100,100});<br/>        testData.add(new int[]...{3,73,-95,42,43,29,-30,-87,74,-53,22,74,-91,-1,-27,-8,-14,26,-67,-74});<br/>        testData.add(new int[]...{12, -8, 71, -21, 35, -44,7 ,-2000,1999});<br/>        testData.add(new int[]...{98,99,-2,-99,100,-99,-2});<br/>        testData.add(new int[]...{-2, 11, -4, 13, -5, -2});<br/>        testData.add(new int[]...{-1});<br/>                <br/>        for(int[] array:testData)<br/>        ...{<br/>            System.out.println(Arrays.toString(array));<br/>            System.out.println(&quot;result:&quot;+findMaxSubArray(array));<br/>            System.out.println();<br/>        }<br/>    }<br/>    <br/>    static private SubArray findMaxSubArray(int[] intArray)<br/>    ...{<br/>        //去头，去尾<br/>        int bIndex = 0,eIndex = intArray.length-1;<br/>        while(intArray[bIndex]&lt;=0 &amp;&amp; bIndex+1&lt;intArray.length)...{bIndex++;}<br/>        while(intArray[eIndex]&lt;=0 &amp;&amp; eIndex-1&gt;=0)...{eIndex--;}<br/>        <br/>        LinkedList&lt;SubArray&gt; saList = new LinkedList&lt;SubArray&gt;();<br/>        for(int i=bIndex; i&lt;=eIndex; i++)<br/>        ...{<br/>            saList.add(new SubArray(i,intArray[i]));<br/>        }<br/><br/>        //合并相邻的属性相似的数据<br/>        Iterator&lt;SubArray&gt; iter = saList.iterator();<br/>        if(iter.hasNext())<br/>        ...{<br/>            SubArray a = iter.next();<br/>            while(iter.hasNext())<br/>            ...{<br/>                SubArray b = iter.next();<br/>                if((a.getSum()&gt;=0 &amp;&amp; b.getSum()&gt;=0)||(a.getSum()&lt;=0 &amp;&amp; b.getSum()&lt;=0))<br/>                ...{<br/>                    a.m(b);<br/>                    iter.remove();<br/>                }<br/>                else<br/>                ...{<br/>                    a = b;<br/>                }<br/>            }<br/>        }<br/>        <br/>        //跨区段合并更大范围的数据<br/>        SubArray[] array = new SubArray[saList.size()];<br/>        array = saList.toArray(array);<br/>        if(array.length&gt;=3)<br/>        ...{<br/>            for(int i=1;i&lt;array.length; i+=2)<br/>            ...{<br/>                SubArray a = array[i-1];<br/>                SubArray b = array[i];<br/>                SubArray c = array[i+1];<br/>                int sum = a.getSum()+b.getSum()+c.getSum();<br/>                if( sum &gt; a.getSum() &amp;&amp; sum &gt; c.getSum())<br/>                ...{<br/>                    a.m(b);<br/>                    a.m(c);<br/>                    array[i-1] = null;<br/>                    array[i] = null;<br/>                    array[i+1] = a;<br/>                }<br/>            }<br/>        }<br/>        //找到sum值最大的一段<br/>        SubArray maxSubArray = null;<br/>        for(int i=0;i&lt;array.length; i++)<br/>        ...{<br/>            if(null!=array[i])<br/>            ...{<br/>                if(null==maxSubArray || array[i].getSum()&gt;maxSubArray.getSum())<br/>                ...{<br/>                    maxSubArray = array[i];<br/>                }<br/>            }<br/>        }<br/>        return maxSubArray;<br/>    }<br/>    <br/>    /** *//**<br/>     * 为了记录原始下标而建立的 子数组 对象<br/>     * @author 顾法华，杭州<br/>     *<br/>     */<br/>    static private class SubArray<br/>    ...{<br/>        int head = -1;<br/>        LinkedList&lt;Integer&gt; content;<br/>        <br/>        SubArray(int head,LinkedList&lt;Integer&gt; subArray)<br/>        ...{<br/>            this.head = head;<br/>            this.content = subArray;<br/>        }<br/>        <br/>        SubArray(int head,int v)<br/>        ...{<br/>            this(head,new LinkedList&lt;Integer&gt;());<br/>            content.add(v);<br/>        }<br/>        <br/>        public void m(SubArray sa)<br/>        ...{<br/>            content.addAll(sa.content);<br/>        }<br/>        <br/>        public int getSum()<br/>        ...{<br/>            int s = 0;<br/>            for(int i : content)<br/>            ...{<br/>                s += i;<br/>            }<br/>            return s;<br/>        }<br/>        <br/>        public String toString()<br/>        ...{<br/>            return this.getSum()+&quot; (&quot;+head+&quot;~&quot;+(head+content.size()-1)+&quot;) &quot;+content.toString();<br/>        }<br/>    }<br/>}<br/>//找到这个你看看<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">新手11223sdfsd</a> 2008-07-29 13:20 <a href="http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270896#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 子数组的最大和 最大子数组</title><link>http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270882</link><dc:creator>新手11223sdfsd</dc:creator><author>新手11223sdfsd</author><pubDate>Tue, 29 Jul 2008 05:16:01 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270882</guid><description><![CDATA[不对。。<br/><br/>我运行了一下<br/>the max sum for sub array:<br/>18<br/>new sum array m:<br/>1 -1 3 13 9 16 18 13<br/>max sub array:-2 10 -4 7 2 -5<br/><br/>没看懂<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">新手11223sdfsd</a> 2008-07-29 13:16 <a href="http://www.cnblogs.com/lanshh/archive/2008/07/29/1210515.html#1270882#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Server.MapPath() 探究</title><link>http://www.cnblogs.com/lanshh/archive/2008/05/21/438826.html#1205348</link><dc:creator>nengrenju</dc:creator><author>nengrenju</author><pubDate>Wed, 21 May 2008 14:36:38 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/05/21/438826.html#1205348</guid><description><![CDATA[hao<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">nengrenju</a> 2008-05-21 22:36 <a href="http://www.cnblogs.com/lanshh/archive/2008/05/21/438826.html#1205348#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Server.MapPath() 探究</title><link>http://www.cnblogs.com/lanshh/archive/2008/05/16/438826.html#1200847</link><dc:creator>铁山</dc:creator><author>铁山</author><pubDate>Fri, 16 May 2008 08:30:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/05/16/438826.html#1200847</guid><description><![CDATA[顶顶 学习学习<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">铁山</a> 2008-05-16 16:30 <a href="http://www.cnblogs.com/lanshh/archive/2008/05/16/438826.html#1200847#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: 孤立用户（翻译）</title><link>http://www.cnblogs.com/lanshh/archive/2008/01/08/724400.html#1030006</link><dc:creator>AnselZheng</dc:creator><author>AnselZheng</author><pubDate>Tue, 08 Jan 2008 02:55:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2008/01/08/724400.html#1030006</guid><description><![CDATA[谢谢，我想请问下如何避免孤立用户的产生？有什么方法吗？谢谢。<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">AnselZheng</a> 2008-01-08 10:55 <a href="http://www.cnblogs.com/lanshh/archive/2008/01/08/724400.html#1030006#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET错误处理的方式（总结）</title><link>http://www.cnblogs.com/lanshh/archive/2007/12/06/438444.html#985374</link><dc:creator>书生多命贱</dc:creator><author>书生多命贱</author><pubDate>Thu, 06 Dec 2007 07:23:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/12/06/438444.html#985374</guid><description><![CDATA[@ddr888<br>EventLog 需要引入 System.Diagnostics名称空间！<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">书生多命贱</a> 2007-12-06 15:23 <a href="http://www.cnblogs.com/lanshh/archive/2007/12/06/438444.html#985374#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/11/01/436163.html#946063</link><dc:creator>asdasd</dc:creator><author>asdasd</author><pubDate>Thu, 01 Nov 2007 10:58:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/11/01/436163.html#946063</guid><description><![CDATA[couid not load intializatiom file<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">asdasd</a> 2007-11-01 18:58 <a href="http://www.cnblogs.com/lanshh/archive/2007/11/01/436163.html#946063#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/10/17/436163.html#927865</link><dc:creator>syw</dc:creator><author>syw</author><pubDate>Wed, 17 Oct 2007 09:12:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/10/17/436163.html#927865</guid><description><![CDATA[ ’| 赤;焰﹏゛ <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">syw</a> 2007-10-17 17:12 <a href="http://www.cnblogs.com/lanshh/archive/2007/10/17/436163.html#927865#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898692</link><dc:creator>李赛钰</dc:creator><author>李赛钰</author><pubDate>Wed, 19 Sep 2007 08:33:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898692</guid><description><![CDATA[ when you feel the slip <br>when you start to crack <br>when it's all to hell<br> know i have your back<br> whether right or wrong<br> is beside the point <br>'cause we're more than blood <br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">李赛钰</a> 2007-09-19 16:33 <a href="http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898692#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898410</link><dc:creator>飒飒</dc:creator><author>飒飒</author><pubDate>Wed, 19 Sep 2007 05:44:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898410</guid><description><![CDATA[当爱情已经不再回来不知道什么时候才可以找到下一个你？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">飒飒</a> 2007-09-19 13:44 <a href="http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898410#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898405</link><dc:creator>郭韬</dc:creator><author>郭韬</author><pubDate>Wed, 19 Sep 2007 05:40:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898405</guid><description><![CDATA[郭韬<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">郭韬</a> 2007-09-19 13:40 <a href="http://www.cnblogs.com/lanshh/archive/2007/09/19/436163.html#898405#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Server.MapPath() 探究</title><link>http://www.cnblogs.com/lanshh/archive/2007/09/17/438826.html#896136</link><dc:creator>邓林海</dc:creator><author>邓林海</author><pubDate>Mon, 17 Sep 2007 09:15:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/09/17/438826.html#896136</guid><description><![CDATA[那确实<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">邓林海</a> 2007-09-17 17:15 <a href="http://www.cnblogs.com/lanshh/archive/2007/09/17/438826.html#896136#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: Server.MapPath() 探究</title><link>http://www.cnblogs.com/lanshh/archive/2007/07/11/438826.html#814272</link><dc:creator>gm</dc:creator><author>gm</author><pubDate>Wed, 11 Jul 2007 08:27:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/07/11/438826.html#814272</guid><description><![CDATA[Server.Mapth(&quot;/&quot;)提示找不到目录<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">gm</a> 2007-07-11 16:27 <a href="http://www.cnblogs.com/lanshh/archive/2007/07/11/438826.html#814272#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET页面生存周期（理论）</title><link>http://www.cnblogs.com/lanshh/archive/2007/06/08/590941.html#776796</link><dc:creator>马可香蕉</dc:creator><author>马可香蕉</author><pubDate>Fri, 08 Jun 2007 09:00:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/06/08/590941.html#776796</guid><description><![CDATA[收藏<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">马可香蕉</a> 2007-06-08 17:00 <a href="http://www.cnblogs.com/lanshh/archive/2007/06/08/590941.html#776796#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: .NET中英文转换的实现</title><link>http://www.cnblogs.com/lanshh/archive/2007/05/21/436163.html#753641</link><dc:creator>12</dc:creator><author>12</author><pubDate>Sun, 20 May 2007 17:16:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/05/21/436163.html#753641</guid><description><![CDATA[傻子<br><br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">12</a> 2007-05-21 01:16 <a href="http://www.cnblogs.com/lanshh/archive/2007/05/21/436163.html#753641#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>re: ASP.NET错误处理的方式（总结）</title><link>http://www.cnblogs.com/lanshh/archive/2007/05/17/438444.html#750462</link><dc:creator>ddr888</dc:creator><author>ddr888</author><pubDate>Thu, 17 May 2007 09:57:00 GMT</pubDate><guid>http://www.cnblogs.com/lanshh/archive/2007/05/17/438444.html#750462</guid><description><![CDATA[String LogName = &quot;Application&quot;;<br> 8            if (!EventLog.SourceExists(LogName)) <br> 9            {<br>10                EventLog.CreateEventSource(LogName, LogName);<br>11            }<br><br>为什么我在global里面写的 相似的功能不能创建相应的时间日志来源 ，<br>但是我又重新写个winform的同样的代码就可以用？<br><br><div align=right><a style="text-decoration:none;" href="http://www.cnblogs.com/lanshh/" target="_blank">ddr888</a> 2007-05-17 17:57 <a href="http://www.cnblogs.com/lanshh/archive/2007/05/17/438444.html#750462#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>
