Squares or Rectangles?

Squares or Rectangles?

I think the problem asked us to divide a rectangle into "squares" not small rectangles, but it is not very clear.

3 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

I think it states pretty clear that rectangular is subdivided into square subregions.

Tiling Rectangles

Given a rectangular area with integral dimensions, that area can be subdivided into square subregions, also with integral dimensions. This process is known as tiling the rectangle. For such square-tiled rectangles...

imagem de Dmitry Vyukov

A single integer can't encode a rectangle. If they would be rectangles, then you would see 1x2 2x3 4x5 in input files.

All about lock-free algorithms, multicore, scalability, parallel computing and related topics: http://www.1024cores.net

Faça login para deixar um comentário.