Problem | eeducation |
---|---|
User | ZiErn |
Submission Time | 2023-11-15 10:58:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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 Areverse[500010], int B[500010];
| ^~~
eeducation.cpp:17:9: error: ‘Areverse’ was not declared in this scope
17 | Areverse[i] = A[N-i-1];
| ^~~~~~~~
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: ‘Areverse’ was not declared in this scope
29 | if (mp[Areverse[i]] == '1'){
| ^~~~~~~~