Problem eeducation
User austenj
Submission Time 2026-06-23 16:15:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:19:1: error: ‘sort’ was not declared in this scope; did you mean ‘qsort’?
19 | sort(B.begin(),(B.end));
| ^~~~
| qsort
eeducation.cpp:20:21: error: expected primary-expression before ‘>=’ token
20 | for (int i = N - 1; >= 0; i--) {
| ^~
eeducation.cpp:21:9: error: ‘binary_search’ was not declared in this scope
21 | if (binary_search(B.begin(),(B.end()), A[i])){
| ^~~~~~~~~~~~~
eeducation.cpp:22:25: error: expected ‘;’ before ‘}’ token
22 | cout<<A[i]<<"\n"
| ^
| ;
23 | }
| ~
eeducation.cpp:25:11: error: expected ‘;’ before ‘}’ token
25 | cout<<"\n"
| ^
| ;
26 |
27 | }
| ~