Problem eeducation
User Tonko
Submission Time 2025-07-01 16:30:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

eeducation.cpp: In function ‘int main()’:
eeducation.cpp:13:38: error: no match for ‘operator[]’ (operand types are ‘std::set<int>’ and ‘int’)
13 | for (int i = 0; i < m; i++) cin >> b[i];
| ^
eeducation.cpp:17:17: error: invalid type argument of unary ‘*’ (have ‘int’)
17 | if (a[i] == *it)
| ^~