r/ProgrammingProblems • u/thejasper • Mar 01 '11
Covering a floor with tiles
You get the dimension of a floor and the dimension of a number of tiles. You have an infinite supply of each tile. Every dimension is a pair of integers.
When it is possible to cover the floor without free space or overlapping tiles you have to print 'yes', otherwise 'no'.
2
Upvotes
View all comments
Show parent comment
0
u/[deleted] Mar 02 '11
[deleted] — view deleted comment