Here is solution can anyone tell whats wrong with approach i used dp to solve
Hwere is the solutionhttps://www.codechef.com/viewsolution/32078406
Here is solution can anyone tell whats wrong with approach i used dp to solve
Hwere is the solutionhttps://www.codechef.com/viewsolution/32078406