diff options
author | Haidong Ji | 2018-12-26 20:27:48 -0600 |
---|---|---|
committer | Haidong Ji | 2018-12-26 20:27:48 -0600 |
commit | e7d4f50b766be809373a465767dfe3e05ac2ad37 (patch) | |
tree | c471df6cac41e54659d10831e4526362913d2f70 /PlaygroundCpp/.project | |
parent | b1ea15d245220ffe9a86c6d6c1e1f1f409de30f6 (diff) |
Knapsack maximize gold done!
Interesting signal 11 segmentation fault problem. Once I changed the 2D
array to 2D vector, it worked:
// int value[W + 1][j + 1];
vector< vector<int> > value(W + 1, vector<int>(j + 1));
Diffstat (limited to 'PlaygroundCpp/.project')
0 files changed, 0 insertions, 0 deletions