I need help in the tiling problem.[This the problem](https://codeforces.com/contest/1511/problem/E)↵
I cannot understand how to count the total no of dominos in the case of blue colors.↵
Should I write two dp tables one is the row-major matrix(for red) and the other is the column-major matrix(for blue)?↵
I cannot understand how to write.↵
Please help...
I cannot understand how to count the total no of dominos in the case of blue colors.↵
Should I write two dp tables one is the row-major matrix(for red) and the other is the column-major matrix(for blue)?↵
I cannot understand how to write.↵
Please help...