Problem | ballot |
---|---|
User | blob |
Submission Time | 2023-11-14 09:53:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ballot.cpp: In function ‘int main()’:
ballot.cpp:8:12: error: declaration does not declare anything [-fpermissive]
8 | set<int>::iterator;/auto;
| ^~~~~~~~
ballot.cpp:8:21: error: expected primary-expression before ‘/’ token
8 | set<int>::iterator;/auto;
| ^
ballot.cpp:8:22: error: expected primary-expression before ‘auto’
8 | set<int>::iterator;/auto;
| ^~~~
ballot.cpp:13:7: error: ‘it’ was not declared in this scope; did you mean ‘int’?
13 | for (it = s.begin(); it != s.end(); it++){
| ^~
| int