Problem 3878 · Hard
Count subarrays whose bitwise OR equals one of the values inside that same subarray.
Open the interactive visualisation