Имя пользователя: 
Пароль: 
Ограничить сессию IP 
Вопросы  |  score: 1  |  1.50 2.33 2.83 |  Решена 57 человеком/людьми  |  3519 views  |  с Oct 11, 2024 - 20:51:00

CGX#16: Big Endian (Encoding, Training, CGX)

CGX: Binary Encoding BE
Hello future Hackers,

We hope you know binary now. But do you really?

Your task is easy Just convert a stream of zeroes and ones to ASCII, but it is big endian now.

Greetings
- gizmore and x
Проблема CGX#16
В этом уроке есть интерактивная задача:

101000101010001011001010011000100100101001001010001100101011001000100010101000101000001011100010

Проблема генерируется случайным образом и привязана к вашему сеансу.

Удачи!
Команда WeChall
Ваше решение для CGX#16: Big Endian
Ответ
# CGX#16: Big Endian

Everything is binary; just 0 and 1.
But, it is a matter of taste if the
[ISA](https://en.wikipedia.org/wiki/Instruction_set_architecture)
on your CPU has an
[endianness](https://en.wikipedia.org/wiki/Endianness)
of
LE(LittleEndian)
or
BE(BigEndian).

----

Imagine a nibble (4 bits) in LE and BE.

8421 (LE values of bits)

0001 == 1 (LittleEndian)

1248 (BE values of bits)

0001 = 8 (BigEndian)
© 2024 and 2025 by gizmore and x