Problem ballot
User blob
Submission Time 2023-11-14 09:54:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ballot.cpp: In function ‘int main()’:
ballot.cpp:7:24: error: declaration does not declare anything [-fpermissive]
7 | set<int> s; set<int>::iterator;/auto;
| ^~~~~~~~
ballot.cpp:7:33: error: expected primary-expression before ‘/’ token
7 | set<int> s; set<int>::iterator;/auto;
| ^
ballot.cpp:7:34: error: expected primary-expression before ‘auto’
7 | set<int> s; set<int>::iterator;/auto;
| ^~~~
ballot.cpp:12:7: error: ‘it’ was not declared in this scope; did you mean ‘int’?
12 | for (it = s.begin(); it != s.end(); it++){
| ^~
| int