Problem eeducation
User siqideng09
Submission Time 2023-11-15 08:40:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:8:40: error: use of parameter outside function body before ‘]’ token
8 | bool find(long long a, long long arr[a], long long value) {
| ^
eeducation.cpp:8:41: error: expected ‘)’ before ‘,’ token
8 | bool find(long long a, long long arr[a], long long value) {
| ~ ^
| )
eeducation.cpp:8:43: error: expected unqualified-id before ‘long’
8 | bool find(long long a, long long arr[a], long long value) {
| ^~~~
eeducation.cpp:19:18: error: ‘B’ was not declared in this scope
19 | long long A[N]; B[M];
| ^
eeducation.cpp:21:32: error: expected ‘;’ before ‘)’ token
21 | for (long long i = 0; i<N, i++) {
| ^
|