How can a string made up of a,b,c,d be converted using base4
In this case a,b,c,d are digits, traditionally 0...9 are used for system with base <= 10, but other characters might be used. For example say you might write binary number using - and +.
Note that various base systems are working same way, but are just using subsequent powers of different number. Consider 21231 in base-10 system, it is:
发布评论
评论(2)
这可能意味着 base4 中的 b = 2、a = 1、c = 3 和 babca = 21231。
This could mean b = 2, a = 1, c = 3, and babca = 21231 in base4.
在这种情况下,a,b,c,d 是数字,传统上 0...9 用于具有基数的系统<= 10,但也可以使用其他字符。例如,您可以使用
-
和+
编写二进制数。请注意,各种基本系统的工作方式相同,但只是使用不同数量的后续幂。考虑以 10 为基数的系统中的
21231
,它是:In this case a,b,c,d are digits, traditionally 0...9 are used for system with base <= 10, but other characters might be used. For example say you might write binary number using
-
and+
.Note that various base systems are working same way, but are just using subsequent powers of different number. Consider
21231
in base-10 system, it is: