This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
/** | |
* Initializing global array for dp and sum | |
*/ | |
int dp[107][107]; | |
int sum[107][107]; |