mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fixed compilation error in cut_rod.cpp code
This commit is contained in:
parent
46ac5a46a4
commit
4d211fc51b
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user