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 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

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

Ritratto di 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

Accedere per lasciare un commento.