0_0_25164075_21901.cpp: In function 'int main()': 0_0_25164075_21901.cpp:77:19: error: no match for 'operator[]' (operand types are 'std::set<int>' and 'int') tmp = change(a[k], i, j); ^