0_0_17975741_8442.cpp: In function 'int Max(int, int)':
0_0_17975741_8442.cpp:59:11: error: 'c' was not declared in this scope
if(ans < c)
^
0_0_17975741_8442.cpp: In function 'int main()':
0_0_17975741_8442.cpp:83:117: error: too many arguments to function 'int Max(int, int)'
dp[i][k] = Max(dp[i][k], dp[i][k - shoes[i][j].w] + shoes[i][j].v, dp[i - 1][k - shoes[i][j].w] + shoes[i][j].v);
^
0_0_17975741_8442.cpp:54:5: note: declared here
int Max(int a, int b)
^
|