Problem exam
User LOL7651
Submission Time 2024-02-17 10:18:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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:10:5: note: in expansion of macro ‘int’
10 | int a = 0
| ^~~
exam.cpp:10:9: error: ‘a’ was not declared in this scope
10 | int a = 0
| ^
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:12:5: note: in expansion of macro ‘int’
12 | int b = 0;
| ^~~
exam.cpp:12:9: error: ‘b’ was not declared in this scope
12 | int b = 0;
| ^
exam.cpp:14:5: error: ‘c’ was not declared in this scope
14 | c = a*b;
| ^