Problem moneychanger
User Elwinthenerd
Submission Time 2024-11-14 15:02:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

moneychanger.cpp: In function ‘int main()’:
moneychanger.cpp:11:18: error: ‘v’ was not declared in this scope
11 | for (int i=1;i<=v;i++) {
| ^
moneychanger.cpp:12:18: error: ‘n’ was not declared in this scope
12 | for (int j=0;j<n;j++) {
| ^
moneychanger.cpp:18:15: error: ‘inf’ was not declared in this scope; did you mean ‘ynf’?
18 | if (dp[V] == inf) {
| ^~~
| ynf
moneychanger.cpp:21:14: error: ‘v’ was not declared in this scope
21 | cout << dp[v];
| ^