Utwórz bitset 1024 bitów,

std::bitset<1024 * 1024> my_bitset;
Good Gharial