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 |
终于看明白题目了,题目比原题目漏了一点...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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator