Hot answers tagged

1

This might be faster than your solution. #include <stdio.h> typedef struct __attribute__((__packed__)) { unsigned int N0 : 4; unsigned int N1 : 4; unsigned int N2 : 4; unsigned int N3 : 4; unsigned int N4 : 4; unsigned int N5 : 4; unsigned int N6 : 4; unsigned int N7 : 4; unsigned int N8 : 4; unsigned int N9 : 4;...


Only top voted, non community-wiki answers of a minimum length are eligible