What about:
What about this:
obase: base of output value
The following bases can be used:
- You have to convert a hex value into a binary value
- Your only tool is a linux shell
- You have to start in 30s
- You have to do it for >10000 hex values
What about this:
schroff@hades:$ echo "ibase=16;obase=2; 10 "|bcibase: base of input value
10000
schroff@hades:$ echo "ibase=16;obase=2; 1F "|bc
11111
obase: base of output value
The following bases can be used:
- 16 -> hex
- 10 -> decimal
- 8 -> octal
- 2 -> binary
No comments:
Post a Comment