Tiling problem-2

can u tell me what’s wrong in my code?
this is link of code.
( https://ide.codingblocks.com/s/308299)

@bommareddyjyothiswaroopreddy,
clear you dp after each test case, and also, use vectors rather than map, map gives a factor of O(log(n)) which may give TLE.