Problem potatosalad
User rgcoders
Submission Time 2023-10-26 10:00:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:2:18: error: declaration does not declare anything [-fpermissive]
2 | #define int long long;
| ^~~~
potatosalad.cpp:6:2: note: in expansion of macro ‘int’
6 | int n,d,m,ans=0;
| ^~~
potatosalad.cpp:6:6: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | int n,d,m,ans=0;
| ^
| yn
potatosalad.cpp:6:8: error: ‘d’ was not declared in this scope
6 | int n,d,m,ans=0;
| ^
potatosalad.cpp:6:10: error: ‘m’ was not declared in this scope; did you mean ‘tm’?
6 | int n,d,m,ans=0;
| ^
| tm
potatosalad.cpp:6:12: error: ‘ans’ was not declared in this scope; did you mean ‘abs’?
6 | int n,d,m,ans=0;
| ^~~
| abs
potatosalad.cpp:2:18: error: template argument 1 is invalid
2 | #define int long long;