Problem weddingcoins
User taqtru
Submission Time 2024-11-01 18:30:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:2:17: error: declaration does not declare anything [-fpermissive]
2 | #define ll long long;
| ^~~~
weddingcoins.cpp:7:5: note: in expansion of macro ‘ll’
7 | ll res = 0;
| ^~
weddingcoins.cpp:7:8: error: ‘res’ was not declared in this scope
7 | ll res = 0;
| ^~~
weddingcoins.cpp:2:17: error: declaration does not declare anything [-fpermissive]
2 | #define ll long long;
| ^~~~
weddingcoins.cpp:9:5: note: in expansion of macro ‘ll’
9 | ll N;
| ^~
weddingcoins.cpp:9:8: error: ‘N’ was not declared in this scope
9 | ll N;
| ^
weddingcoins.cpp:2:17: error: declaration does not declare anything [-fpermissive]
2 | #define ll long long;
| ^~~~
weddingcoins.cpp:13:9: note: in expansion of macro ‘ll’
13 |