| Problem | ballot |
|---|---|
| User | blob |
| Submission Time | 2023-11-14 09:41:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
ballot.cpp: In function ‘int main()’:
ballot.cpp:9:6: error: conflicting declaration ‘int arr [c]’
9 | int arr[c];// number that ronald chooses
| ^~~
ballot.cpp:8:6: note: previous declaration as ‘int arr [n]’
8 | int arr[n]; // number that student chooses
| ^~~
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