CHEFQUE - Editorial

@anonymous_b0y vector < bool > <-> bitset in C++ in terms of memory, vector < bool > v(N) use N / 8 bytes. Refer @mgch previous comments

Each solution link has been broken… :frowning:

I’m getting wrong answer in this code. :frowning: I’m trying hashing with linked list. Would anybody please give a look?

ideone link

Got AC … :slight_smile:

"We know they lie between 0 and 2^32−1, i.e., they can be represented by 31 bits."

how its 31 bits…i think it can be a 32 bits integer,because after mod we can get max value of 2^32-1,which is a 32 bits integer.
pliz help @mgch