0_0_26512808_5225.cpp: In function 'int main()': 0_0_26512808_5225.cpp:60:57: error: invalid types 'int[int]' for array subscript cout << fixed << setprecision(2) << (double)dp[N][intQ] / 100 << endl; ^