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 |
此题解法!1+2+...+n-1+n+n-1+..+1 和为 n ×n 对应 2n-1 步 . .期间对应为 2n 步 . 1+2+...+n-1+n+n+n-1+..+1 和为 n * n +n 对应 2n 步 . .期间对应为 2n+1 步 . 1+2+...+n+n+1+n+..+1 和为 (n+1) ×(n+1) 对应 2n+1 步 0输出为0. Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator