It is written in problem statement, that "there are no more than 2 blocks of each color".
But in sample input there is a color matrix
1 2 3
1 1 1
1 1 1
where there are 7 blocks with color 1.
Is everything correct?
created
last reply
- 6
replies
- 419
views
- 5
users
- 1
link