Problem weddingcoins
User chiefoggy
Submission Time 2024-03-18 13:04:27
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
weddingcoins.cpp:4:1: note: in expansion of macro ‘int’
4 | int main(){
| ^~~
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
weddingcoins.cpp:5:5: note: in expansion of macro ‘int’
5 | int n, count = 0;
| ^~~
weddingcoins.cpp:5:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
5 | int n, count = 0;
| ^
| yn
weddingcoins.cpp:5:20: error: overloaded function with no contextual type information
5 | int n, count = 0;
| ^
weddingcoins.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;