0_0_39299367_27921.cpp: In function 'int main()':
0_0_39299367_27921.cpp:30:106: error: 'v' was not declared in this scope
30 | if (dp[remain]!=9999) cout<<"The minimum amount of money in the piggy-bank is "<<dp[remainif (dp[v]!=Max) cout<<"The minimum amount of money in the piggy-bank is "<<dp[v]<<"."<<endl;
| ^
0_0_39299367_27921.cpp:30:110: error: 'Max' was not declared in this scope
30 | if (dp[remain]!=9999) cout<<"The minimum amount of money in the piggy-bank is "<<dp[remainif (dp[v]!=Max) cout<<"The minimum amount of money in the piggy-bank is "<<dp[v]<<"."<<endl;
| ^~~
0_0_39299367_27921.cpp:30:93: error: 'remainif' was not declared in this scope; did you mean 'remain'?
30 | if (dp[remain]!=9999) cout<<"The minimum amount of money in the piggy-bank is "<<dp[remainif (dp[v]!=Max) cout<<"The minimum amount of money in the piggy-bank is "<<dp[v]<<"."<<endl;
| ^~~~~~~~
| remain
0_0_39299367_27921.cpp:30:114: error: expected ']' before 'cout'
30 | if (dp[remain]!=9999) cout<<"The minimum amount of money in the piggy-bank is "<<dp[remainif (dp[v]!=Max) cout<<"The minimum amount of money in the piggy-bank is "<<dp[v]<<"."<<endl;
| ^~~~~
| ]
0_0_39299367_27921.cpp:32:1: error: expected primary-expression before ']' token
32 | ]<<"."<<endl;
| ^
0_0_39299367_27921.cpp:33:17: error: 'else' without a previous 'if'
33 | else cout<<"This is impossible."<<endl;
| ^~~~
|