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

the rule

Posted by gzw_02 at 2008-07-16 17:03:51 on Problem 2590
Let's observe the rule below:
1
1 1
1 2 1
1 2 2 1
1 2 3 2 1
1 2 3 3 2 1
1 2 3 4 3 2 1
1 2 3 4 4 3 2 1
.....
Now you guess the method:
First create interval as index, then use binary search(or sequence search) to locate the interval, and then output the result.

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