Problem | democracy |
---|---|
User | om2024 |
Submission Time | 2024-06-21 14:09:18 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
democracy.cpp: In function ‘int mostFrequentNum(int*, int)’:
democracy.cpp:13:3: error: expected ‘}’ before ‘else’
13 | else if(maxCount == j.second) {
| ^~~~
democracy.cpp:10:28: note: to match this ‘{’
10 | if (maxCount < j.second) {
| ^