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:Orz,k>n/2的时候k=n-k就0ms,不加这个就TLE...In Reply To:Orz,k>n/2的时候k=n-k就0ms,不加这个就TLE... Posted by:chqch172443 at 2008-07-21 19:57:37 我也是TLE,看了你的提示才过的, 当K>N/2时,按我的程序循环的次数就应该变了. 原理其实是C M N==C N M 不好意思排列组合那个符号打不出来 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator