Problem exam
User Rcrc
Submission Time 2026-08-18 09:50:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:3:18: error: declaration does not declare anything [-fpermissive]
3 | #define int long long;
| ^~~~
exam.cpp:5:2: note: in expansion of macro ‘int’
5 | int x; cin << x
| ^~~
exam.cpp:5:6: error: ‘x’ was not declared in this scope
5 | int x; cin << x
| ^
exam.cpp:13:3: error: expected ‘}’ at end of input
13 | }
| ^
exam.cpp:4:8: note: to match this ‘{’
4 | main() {
| ^