Problem | moneychanger |
---|---|
User | mathemactics |
Submission Time | 2023-11-10 11:58:31 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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:6:5: note: in expansion of macro ‘int’
6 | int n, v;
| ^~~
moneychanger.cpp:6:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n, v;
| ^
| yn
moneychanger.cpp:6:12: error: ‘v’ was not declared in this scope
6 | int n, v;
| ^
moneychanger.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
moneychanger.cpp:9:5: note: in expansion of macro ‘int’
9 | int coins[n+1];
| ^~~
moneychanger.cpp:9:9: error: ‘coins’ was not declared in this scope; did you mean ‘cos’?
9 | int coins[n+1];
| ^~~~~
|