|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 欧拉计划 于 2016-9-14 23:15 编辑
Hexadecimal numbers
In the hexadecimal number system numbers are represented using 16 different digits:
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
The hexadecimal number AF when written in the decimal number system equals 10x16+15=175.
In the 3-digit hexadecimal numbers 10A, 1A0, A10, and A01 the digits 0,1 and A are all present.
Like numbers written in base ten we write hexadecimal numbers without leading zeroes.
How many hexadecimal numbers containing at most sixteen hexadecimal digits exist with all of the digits 0,1, and A present at least once?
Give your answer as a hexadecimal number.
(A,B,C,D,E and F in upper case, without any leading or trailing code that marks the number as hexadecimal and without leading zeroes , e.g. 1A3F and not: 1a3f and not 0x1a3f and not $1A3F and not #1A3F and not 0000001A3F)
题目:
十六进制系统中,数字用 16 个不同的字符表示
0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F
16 进制数字 AF 用 10 进制表示就是 10x16+15=175。
在 3 位的 16 进制数字 10A ,1A0,A10 和 A01 中,0,1,A 均全部出现。
像 10 进制数一样,我们写 16 进制时,不要前导的 0。
请问,0,1,A 均出现至少一次的,最多 16 位的,16 进制数字有多少个?
请用 16 进制数字回答。
A,B,C,D 是大写字母,没有前导或末尾代码标志着它们是 16 进制数,也没有前导 0。所以,1A3F 不能写成 1a3f 0x1a3f ,$1A3F #1A3F 以及 0000001A3F)
|
|