How to solve this?

Revision en1, by FattyLovesMangoes, 2022-07-30 14:55:39

Given an array a (0 <= a[i] <= 2^22) of length N(<=1e5). For every i, you need to find the number of j such that a[i]&a[j] = a[j].

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English FattyLovesMangoes 2022-07-30 14:55:39 148 Initial revision (published)