0_0_13489374_7028.cpp: In function 'int main()': 0_0_13489374_7028.cpp:25:25: error: invalid operands of types 'int' and 'int [1000000]' to binary 'operator-' printf("%d %d\n",(max-dp)[max/2],dp[max/2]); ^