# We have an array A of non-negative integers. # For every (contiguous) subarray B = [A[i], A[i+1], ..., # A[j]] (with i <= j), # we take the bitwise OR of all the ...