0_0_35412649_18001.cpp: In function 'int main()':
0_0_35412649_18001.cpp:31:17: error: 'minTotal' was not declared in this scope
minTotal = min(minTotal, temp);
^
0_0_35412649_18001.cpp:33:32: error: 'minTotal' was not declared in this scope
dp[i] = min(dp[i], minTotal);
^
|