News

It is simple to convert candidate_number to its binary representation, as follows:. candidate = 1 << (candidate_number - 1). Checking if a candidate is present in the set. As mentioned above, the set ...