Amazing bitset

Problem Name:
Amazing bitset
Site:CodeForces
Links:
Tags:
Problem setters: