Cutting Boards

  • + 1 comment

    I don't understand the task. I'm already having problems understanding what the input numbers are supposed to represent.

    1
    2 2
    2
    1
    

    what is the 1? 1x1 ? what is 2 2 = 2x2? what's the deal with modulo? don't understand this wild calculation

    but it gets even crazier

    1
    6 4
    2 1 3 1 4
    4 1 2
    

    what are 2 1 3 1 4 and 4 1 2 supposed to be anyway?