0_0_17076413_17650.cpp:1:39: error: 'n' was not declared in this scope
void solve(int L[], int break_point[][n + 1]) {
^
0_0_17076413_17650.cpp: In function 'void solve(...)':
0_0_17076413_17650.cpp:2:26: error: 'n' was not declared in this scope
for (int l = 2; l <= n; ++l)
^
0_0_17076413_17650.cpp:7:17: error: 'dp' was not declared in this scope
dp[i][j]=inf;
^
0_0_17076413_17650.cpp:7:26: error: 'inf' was not declared in this scope
dp[i][j]=inf;
^
0_0_17076413_17650.cpp:9:24: error: 'dp' was not declared in this scope
int t = dp[i][k] + dp[k][j] + L[j - 1] - L[i - 1] + 1;
^
0_0_17076413_17650.cpp:9:46: error: 'L' was not declared in this scope
int t = dp[i][k] + dp[k][j] + L[j - 1] - L[i - 1] + 1;
^
0_0_17076413_17650.cpp:12:20: error: 'break_point' was not declared in this scope
break_point[i][j] = k;
^
0_0_17076413_17650.cpp: At global scope:
0_0_17076413_17650.cpp:19:38: error: 'n' was not declared in this scope
void print(int L[],int break_point[][n + 1],int i, int j) {
^
0_0_17076413_17650.cpp:19:44: error: expected ')' before ',' token
void print(int L[],int break_point[][n + 1],int i, int j) {
^
0_0_17076413_17650.cpp:19:45: error: expected unqualified-id before 'int'
void print(int L[],int break_point[][n + 1],int i, int j) {
^
|