PAT 1010 Radix (25分) radix取值无限制,二分法提高效率
PAT 1010 Radix (25分) radix取值无限制,二分法提高效率
|
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number.