Problem | moneychanger |
---|---|
User | mathemactics |
Submission Time | 2023-11-10 12:01:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
moneychanger.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
moneychanger.cpp:5:1: note: in expansion of macro ‘int’
5 | int coins[101], dp[10001];
| ^~~
moneychanger.cpp:5:5: error: ‘coins’ does not name a type; did you mean ‘cos’?
5 | int coins[101], dp[10001];
| ^~~~~
| cos
moneychanger.cpp: In function ‘int32_t main()’:
moneychanger.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
moneychanger.cpp:8:5: note: in expansion of macro ‘int’
8 | int n, v;
| ^~~
moneychanger.cpp:8:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | int n, v;
| ^
| yn
moneychanger.cpp:8:12: error: ‘v’ was not declared in this scope
8 | int n, v;
| ^