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 |
设 a=n/2,b=n-a; 结果是a*(a-1)/2+b*(b-1)/2;In Reply To:这样有点慢,这题直接有公式,[n/2]*[(n-1)/2] Posted by:dynamic at 2003-11-01 21:35:48 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator