class Solution {
public:
int dp[101][101];
int solve(int m,int n,int i,int j){
if(i==m-1||j==n-1){
return 1;
}
if(dp[i][j]!=-1)
Software piracy uses Software illegally and without permission from the owner/ developer of the Software used. This means buying a second-hand application, downloading a crack on P2P Software such as uTorrent rather than paying for it afresh on its official website or authorized dealer outlets, or making illegal copies of discs containing programs so one can install them multiple times on different devices with different configurations. Many software companies choose to take legal action against software pirates; after all, the Software is legally protected with copyrights and trademarks, just like books, movies, photographs, etc. One of the primary reasons for implementing software piracy protection is to protect the intellectual property rights of software developers. When developers create software, they own the rights to that software and should be able to control how it is distributed. Software piracy undermines this control, allowing anyone to distribute and use the software without the developer's cons