• + 0 comments

    Must have i/p k to determine how the diffence between two pieces is allow and initial labed chocolate like

    TTUUD
    UUUDU
    

    if you i/p has k=2 then some of the posible divition will be

    TTTDD
    TTDDD 
    
    TTTTD
    DDDDD
    
    TTTTD
    TTDDD
    
    TTDDD
    TTDDD  // yours