Problem laptop
User mentcletan
Submission Time 2024-10-19 08:01:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

laptop.cpp:3:23: error: declaration does not declare anything [-fpermissive]
3 | #define int long long int;
| ^~~
laptop.cpp:4:1: note: in expansion of macro ‘int’
4 | int main(){
| ^~~
laptop.cpp: In function ‘int main()’:
laptop.cpp:3:23: error: declaration does not declare anything [-fpermissive]
3 | #define int long long int;
| ^~~
laptop.cpp:5:5: note: in expansion of macro ‘int’
5 | int a,b; cin>>a>>b;
| ^~~
laptop.cpp:5:9: error: ‘a’ was not declared in this scope
5 | int a,b; cin>>a>>b;
| ^
laptop.cpp:5:11: error: ‘b’ was not declared in this scope
5 | int a,b; cin>>a>>b;
| ^
laptop.cpp:3:23: error: template argument 1 is invalid
3 | #define int long long int;
| ^~~
laptop.cpp:6:21: note: in expansion of macro