Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

此题解法!

Posted by cctvlibin at 2008-07-30 11:11:48 on Problem 2590
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator