mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-12 15:05:47 +08:00
fixed compilation error in cut_rod.cpp code
This commit is contained in:
@@ -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 pieces.*/
|
||||
|
||||
#include <climits>
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
int cutrod(int p[], int n) {
|
||||
|
||||
Reference in New Issue
Block a user