0_0_30764160_13063.cpp: In function 'int main()': 0_0_30764160_13063.cpp:49:33: error: 'inf' was not declared in this scope dp[i][j][k]=inf; ^ 0_0_30764160_13063.cpp:56:20: error: 'inf' was not declared in this scope ans[i]=inf; ^