om1429888's blog

By om1429888, history, 21 month(s) ago, In English

You are given an array A and integer B.divide array into B subarray such that each element belon to 1 subarray.goodness is defined as sum of the goodness of all its subarray where the g99dness of subarray is defined as bitwize or of all elemnts in each subarray.u have to maximize the goodness.

Please help!!!

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
21 month(s) ago, # |
Rev. 2   Vote: I like it +10 Vote: I do not like it

Can you please make ONE discussion thread for whatever hiring contest this is from? Why is it that every year at a certain season we see 200 blogs about the same problem?