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 / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today