Problem party
User justin271828
Submission Time 2023-07-02 16:31:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

party.cpp: In function ‘int main()’:
party.cpp:23:2: error: expected ‘,’ or ‘;’ before ‘set’
23 | set<int>::iterator it;
| ^~~
party.cpp:24:7: error: ‘it’ was not declared in this scope; did you mean ‘int’?
24 | for (it = s.begin(); it != s.end(); it++) {
| ^~
| int