ayushrocker92's blog

By ayushrocker92, 10 years ago, In English

Given an array of n integers arr[1..n].

there are q queries

How many such subsequences exist such that multiplication of integers in that subsequence is greater than equal to L and less than equal to R??

1<=L<=R<=10^18

  • Vote: I like it
  • +3
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it

n <= 50?

»
10 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

wrong