Problem nprime
User Hengweezy
Submission Time 2024-02-03 19:09:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nprime.cpp: In function ‘int main()’:
nprime.cpp:10:27: error: request for member ‘first’ in ‘* a.std::set<int>::find(value).std::_Rb_tree_const_iterator<int>::operator->()’, which is of non-class type ‘const int’
10 | cout << a.find(value) -> first + 1;
| ^~~~~