Блог пользователя om1429888

Автор om1429888, история, 21 месяц назад, По-английски

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!!!

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
21 месяц назад, # |
Rev. 2   Проголосовать: нравится +10 Проголосовать: не нравится

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?