Problem eeducation
User hwy
Submission Time 2023-07-01 15:46:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:19:46: error: expected ‘;’ before ‘cout’
19 | if (binary_search(B.begin(), B.end(), A[i])
| ^
| ;
20 | cout << A[i] << '\n';
| ~~~~
eeducation.cpp:21:2: error: expected primary-expression before ‘}’ token
21 | }
| ^
eeducation.cpp:20:25: error: expected ‘)’ before ‘}’ token
20 | cout << A[i] << '\n';
| ^
| )
21 | }
| ~
eeducation.cpp:19:6: note: to match this ‘(’
19 | if (binary_search(B.begin(), B.end(), A[i])
| ^
eeducation.cpp:21:2: error: expected primary-expression before ‘}’ token
21 | }
| ^