Problem | exam |
---|---|
User | kashsinghal |
Submission Time | 2023-11-08 11:43:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int32_t main()’:
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:7:1: note: in expansion of macro ‘int’
7 | int a,b;
| ^~~
exam.cpp:7:5: error: ‘a’ was not declared in this scope
7 | int a,b;
| ^
exam.cpp:7:7: error: ‘b’ was not declared in this scope
7 | int a,b;
| ^
exam.cpp:10:5: error: ‘x’ was not declared in this scope
10 | int x;
| ^
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:16:3: note: in expansion of macro ‘int’
16 | int a = 0;
| ^~~
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:18:3: note: in expansion of macro ‘int’