How is the answer to this 14?I am getting 15
\nclass Solution:\n    def trapRainWater(self, heightMap: List[List[int]]) -> int:\n        row=len(heightMap)\n        col=len(heightMap[0])\n        \n       
```\nclass Solution:\n    def trapRainWater(self, heightMap: List[List[int]]) -> int:\n        row=len(heightMap)\n        col=len(heightMap[0])\n        \n        left=[[heightMap[i][j] for j in range(col)] for i in range(row)]\n        right=[[heightMap[i][j] for j in range(col)] for i in range(row)]\n        up=[[heightMap[i][j] for j in range(col)] for i in range(row)]\n        down=[[heightMap[i][j] for j in range(col)] for i in range(row)]\n        #for left\n        for j in range(1,col):\n            for i in range(row):\n                left[i][j]=max(left[i][j],left[i][j-1])\n        \n        #for right\n        for j in range(col-2,-1,-1):\n                    for i in range(row):\n                        right[i][j]=max(right[i][j],right[i][j+1])\n        \n        #for Up\n        for i in range(1,row):\n            for j in range(col):\n                up[i][j]=max(up[i][j],up[i-1][j])\n        \n        #for Down\n        for i in range(row-2,-1,-1):\n            for j in range(col):\n                down[i][j]=max(down[i][j],down[i+1][j])\n        \n        Trapwater=0\n        for i in range(1,row-1):\n            for j in range(1,col-1):\n                Trapwater=Trapwater+(min(left[i][j],right[i][j],up[i][j],down[i][j]) - heightMap[i][j])\n        return Trapwater\n```\n\n```\nThe output is following testcase is 14,but I am getting 15.Can someone correct my code?\n[[12,13,1,12],[13,4,13,12],[13,8,10,12],[12,13,12,12],[13,13,13,13]]\n ```\n    \n    \n
[]