Problem exam
User NiXNull
Submission Time 2025-02-06 17:08:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:2:14: error: expected initializer before ‘long’
2 | #define long long ll
| ^~~~
exam.cpp:6:7: note: in expansion of macro ‘long’
6 | long long int n; cin >> n;
| ^~~~
exam.cpp:6:26: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
6 | long long int n; cin >> n;
| ^
| yn
exam.cpp:2:14: error: expected initializer before ‘long’
2 | #define long long ll
| ^~~~
exam.cpp:9:8: note: in expansion of macro ‘long’
9 | long long int a, b; cin >> a >> b;
| ^~~~
exam.cpp:9:30: error: ‘a’ was not declared in this scope
9 | long long int a, b; cin >> a >> b;
| ^
exam.cpp:9:35: error: ‘b’ was not declared in this scope
9 | long long int a, b; cin >>