fixed compilation error in cut_rod.cpp code

This commit is contained in:
Pardeep Bhatt 2020-09-23 16:50:03 +05:30
parent 46ac5a46a4
commit 4d211fc51b

View File

@ -3,6 +3,7 @@ contains prices of all pieces of size smaller than n. Determine
the maximum value obtainable by cutting up the rod and selling the maximum value obtainable by cutting up the rod and selling
the pieces.*/ the pieces.*/
#include <climits>
#include <iostream> #include <iostream>
using namespace std; using namespace std;
int cutrod(int p[], int n) { int cutrod(int p[], int n) {