Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:用一个for(int i=1; i<n/2; i++)就 OK了,算到 sqrt(n) 的方法是遗漏了哪种情况吗?In Reply To:用一个for(int i=1; i<n/2; i++)就 OK了,算到 sqrt(n) 的方法是遗漏了哪种情况吗? Posted by:xianyunsc at 2005-08-22 11:15:44 > 哪里啊!!! 就算到sqrt(n)就行了哈!!! 关键的就是要注意一下"1"这个特殊情况!!!^_^ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator