Output of empty lines

Output of empty lines

imagem de Dmitry Vyukov

Do we need to output empty lines as "()"? For example, "dimentions 2x2 (2) ()"? Or we may skip them"dimentions 2x2 (2)"?

All about lock-free algorithms, multicore, scalability, parallel computing and related topics: http://www.1024cores.net
2 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de mdma
my understanding is that a group is needed only where there is a "change" in the rectangle configuration on a given horizontal line. An empty group implies no change and so would be redundant. In the example there is no change - the 2x2 rectangle occupies all of the 2x2 space available, so (2) is sufficient.

Faça login para deixar um comentário.