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

Compile Error

ballot.cpp: In function ‘int main()’:
ballot.cpp:12:17: error: declaration does not declare anything [-fpermissive]
12 | for (set<int>::iterator;/auto it = s.begin(); it != s.end(); it++){
| ^~~~~~~~
ballot.cpp:12:26: error: expected primary-expression before ‘/’ token
12 | for (set<int>::iterator;/auto it = s.begin(); it != s.end(); it++){
| ^
ballot.cpp:12:27: error: expected primary-expression before ‘auto’
12 | for (set<int>::iterator;/auto it = s.begin(); it != s.end(); it++){
| ^~~~
ballot.cpp:12:27: error: expected ‘;’ before ‘auto’
12 | for (set<int>::iterator;/auto it = s.begin(); it != s.end(); it++){
| ^~~~
| ;
ballot.cpp:12:27: error: expected primary-expression before ‘auto’
12 | for (set<int>::iterator;/auto it = s.begin(); it != s.