0_0_37902829_31357.cpp: In function 'int main()': 0_0_37902829_31357.cpp:35:28: error: 'inf' was not declared in this scope if(dp[pre][j][k][w]>=inf)continue; ^ 0_0_37902829_31357.cpp:42:11: error: 'inf' was not declared in this scope int ans=inf; ^