Time to Tile some Dominoes
http://www.spoj.com/problems/M3TILE/
http://www.spoj.com/problems/GNY07H/ (M4TILE)
http://www.spoj.com/problems/M5TILE/ (M5TILE)
(M3TILE) : https://gist.github.com/swapcoder/6738962
(M4TILE) : https://gist.github.com/swapcoder/6738982
i will explain the (M4TILE) and posted (M4TILE) and (M3TILE) codes , last one i will post later
problem can be broken up into 3 subproblems
http://www.spoj.com/problems/M3TILE/
http://www.spoj.com/problems/GNY07H/ (M4TILE)
http://www.spoj.com/problems/M5TILE/ (M5TILE)
(M3TILE) : https://gist.github.com/swapcoder/6738962
(M4TILE) : https://gist.github.com/swapcoder/6738982
i will explain the (M4TILE) and posted (M4TILE) and (M3TILE) codes , last one i will post later
problem can be broken up into 3 subproblems
Sub problems Check code for related recurrence relations |