0_0_16243402_27309.cpp: In function 'int main()':
0_0_16243402_27309.cpp:28:4: error: expected primary-expression before '}' token
}
^
0_0_16243402_27309.cpp:29:8: error: 'j' was not declared in this scope
f[j][k] = max( f[j][k] , f[j - 1][ k - time[j] ] + val[j] );
^
0_0_16243402_27309.cpp:29:11: error: 'k' was not declared in this scope
f[j][k] = max( f[j][k] , f[j - 1][ k - time[j] ] + val[j] );
^
|