Please help in this dp question.

Правка en1, от om1429888, 2022-08-27 13:27:27

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

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский om1429888 2022-08-27 13:27:27 347 Initial revision (published)