Need help in defining state of a bitmask dp

Revision en1, by skpro19, 2017-12-17 06:47:58

This problem was the 6th problem in the last Educational Round. It requires the use of bitmask dp. I read through the editorial, but I can't understand, how the dp states are being defined. It would be really nice, if someone could help me with that.

Div 2F

Peace.

Tags bitmask, #dp, educational round

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English skpro19 2017-12-17 06:47:58 363 Initial revision (published)