doubt in 1 bitwise or question

Revision en1, by new9934, 2022-08-17 11:12:50

How can I find out bitwise OR of elements of all possible strictly increasing subsequences present in an array? i have to find out that subsequence also.

Constraints

1≤T≤ 10

1<=N<=10^4

0 ≤ arri ≤ 500

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English new9934 2022-08-17 11:12:50 242 Initial revision (published)