Squares or Rectangles?

Squares or Rectangles?

Imagen de 刁瑞

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

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.
Imagen de Minh-Nhut Hong

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...

Imagen 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

Inicie sesión para dejar un comentario.