Problem eeducation
User ZiErn
Submission Time 2023-11-15 10:54:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int32_t main()’:
eeducation.cpp:3:13: error: expected unqualified-id before ‘long’
3 | #define int long long
| ^~~~
eeducation.cpp:9:20: note: in expansion of macro ‘int’
9 | int A[500010], int A2[500010], int B[500010];
| ^~~
eeducation.cpp:17:9: error: ‘A2’ was not declared in this scope; did you mean ‘A’?
17 | A2[i] = A[N-i-1];
| ^~
| A
eeducation.cpp:21:16: error: ‘B’ was not declared in this scope
21 | cin >> B[i];
| ^
eeducation.cpp:25:13: error: ‘B’ was not declared in this scope
25 | mp [B[i]] = 1;
| ^
eeducation.cpp:29:16: error: ‘A2’ was not declared in this scope; did you mean ‘A’?
29 | if (mp[A2[i]] == '1'){
| ^~
| A