Problem | stamps |
---|---|
User | 0 |
Submission Time | 2023-07-27 21:20:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
stamps.cpp: In function ‘int dp()’:
stamps.cpp:14:5: error: ‘table’ was not declared in this scope
14 | table[i][j] = INF;
| ^~~~~
stamps.cpp:16:5: error: ‘table’ was not declared in this scope
16 | table[i][j] = 0;
| ^~~~~
stamps.cpp:18:5: error: ‘table’ was not declared in this scope
18 | table[i][j] = table[i+1][j];
| ^~~~~
stamps.cpp:19:4: error: ‘table’ was not declared in this scope
19 | table[i][j] = min(table[i+1][j], table[i][j-lst[i]]);
| ^~~~~
stamps.cpp:22:9: error: ‘table’ was not declared in this scope
22 | return table[0][P];
| ^~~~~