Struct Set {
    char data[(UCHAR_MAX + 1) / CHAR_BIT + 1];
} Set;

int addset(Set &set, char a)
{
    set.data[a / CHAR_BIT] &= a % CHAR_BIT;
}