Help with Round 306 Div 2C problem

Revision en1, by chari407, 2018-05-07 10:31:21

Can someone explain the DP solution for Divisibility By Eight ? I didnt understand what was mentioned in the editorial of this problem.

Tags #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English chari407 2018-05-07 10:31:21 263 Initial revision (published)