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 Aimy at 2005-12-07 18:18:40 on Problem 1362
In Reply To:An error in Description : "2i+1 -1" should be 2^(i+1) -1 ... Posted by:judas at 2005-11-30 21:07:45
There are several ways to write binary or skew binary numbers: a list of digits; a list of ranks of non-zero digits; a list of weights of non-zero digits. You will be using a list of ranks, smallest first. Each rank is a decimal integer, and is separated from the next rank by a ‘,’. The digit 2 is represented by the rank of the digit appearing twice in the list. Note that this means that only the first two ranks in the list may be equal. A list is started by a ‘[’ and ended by a ‘]’. For example, the decimal number 5 is: [0,0,1]. Decimal 0 is an empty list: [ ].

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