Problem moneychanger
User mathemactics
Submission Time 2023-11-10 11:58:15
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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 main(){
| ^~~
moneychanger.cpp: In function ‘int 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: