Challenge problem

what does this line mean?

Every painter can paint only contiguous segments of boards.

@VinayakSingh11111 say if a painter paints board 1 and then 3 skipping 2 so that is invalid configuration.

If your doubt is cleared mark it resolved else fell free to ask!