﻿<?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>C++博客-宁静的天空-随笔分类-个人生活</title><link>http://www.cppblog.com/vliuliu/category/6321.html</link><description /><language>zh-cn</language><lastBuildDate>Tue, 27 Dec 2011 22:48:17 GMT</lastBuildDate><pubDate>Tue, 27 Dec 2011 22:48:17 GMT</pubDate><ttl>60</ttl><item><title>证明某一数的平方根为无理数</title><link>http://www.cppblog.com/vliuliu/archive/2009/11/23/101693.html</link><dc:creator>heying</dc:creator><author>heying</author><pubDate>Mon, 23 Nov 2009 05:47:00 GMT</pubDate><guid>http://www.cppblog.com/vliuliu/archive/2009/11/23/101693.html</guid><wfw:comment>http://www.cppblog.com/vliuliu/comments/101693.html</wfw:comment><comments>http://www.cppblog.com/vliuliu/archive/2009/11/23/101693.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/vliuliu/comments/commentRss/101693.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/vliuliu/services/trackbacks/101693.html</trackback:ping><description><![CDATA[关注非完全平方数p
<br>设整数 p 可分解为p1*p2*...*pz(pi为素数)
<br>假设 根号p 为有理数，可表示为n /m (n, m 互素)
<br>有 n^2= p* m^2
<br>p为非完全平方数，p的素因数至少有一个出现次数为单数，
<br>设最小的这个数为 t
<br>==&gt; n^2| t
<br>==&gt; n| t
<br>则 m^2| t, m| t
<br>然而n| t
<br>同假设n，m互素矛盾
<br>即证
<br>
<br>注：<br>1,a|b 表示a 可以被b 整除<br>2,p为非完全平方数，因为如果p为完全平方数，那么p的因子中不包含任何一个出现次数为单数的素因子;<br><br><img src ="http://www.cppblog.com/vliuliu/aggbug/101693.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/vliuliu/" target="_blank">heying</a> 2009-11-23 13:47 <a href="http://www.cppblog.com/vliuliu/archive/2009/11/23/101693.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>关于TCP的短链接和长链接</title><link>http://www.cppblog.com/vliuliu/archive/2008/03/11/44221.html</link><dc:creator>heying</dc:creator><author>heying</author><pubDate>Tue, 11 Mar 2008 15:59:00 GMT</pubDate><guid>http://www.cppblog.com/vliuliu/archive/2008/03/11/44221.html</guid><wfw:comment>http://www.cppblog.com/vliuliu/comments/44221.html</wfw:comment><comments>http://www.cppblog.com/vliuliu/archive/2008/03/11/44221.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/vliuliu/comments/commentRss/44221.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/vliuliu/services/trackbacks/44221.html</trackback:ping><description><![CDATA[今天我一个哥们让我帮他调试下程序，说一个普通网络通讯程序总丢包；我问他是TCP还是UDP，他说是TCP，我纳闷；经过我的了解，发现原来他的程序不是TCP丢包，而是，TCP链接出现问题，不能长时间保持长链接状态；<br />程序是这样的：<br />客户端为普通pc；服务器端为他们的嵌入式设备；<br />我问了他的需求，发现他传输速度要求不高，大概100B/s的样子；后来我就建议他使用短链接；发现短链接能够很好的工作，不过有些包需要发送两次；<br />出现以上情况的原因，我认为可能是以下两个方面：<br />1，网络不太稳定，硬件方面的问题；<br />2，他的嵌入式设备系统的网络驱动有问题，不能长时间保持长链接状态；<br /><br />至于具体是什么原因，还有待于进一步研究；<br /><img src ="http://www.cppblog.com/vliuliu/aggbug/44221.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/vliuliu/" target="_blank">heying</a> 2008-03-11 23:59 <a href="http://www.cppblog.com/vliuliu/archive/2008/03/11/44221.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>