Problem | democracy |
---|---|
User | shniaa10 |
Submission Time | 2024-06-21 14:44:48 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
democracy.cpp: In function ‘int main()’:
democracy.cpp:21:8: error: expected ‘(’ before ‘max’
21 | if max(max(counter_5, counter_6), counter_7) == counter_7 {
| ^~~
| (
democracy.cpp:23:7: error: ‘else’ without a previous ‘if’
23 | } else if max(max(counter_5, counter_6), counter_7) == counter_7 {
| ^~~~
democracy.cpp:23:15: error: expected ‘(’ before ‘max’
23 | } else if max(max(counter_5, counter_6), counter_7) == counter_7 {
| ^~~
| (
democracy.cpp:25:61: error: expected ‘;’ before ‘{’ token
25 | } max(max(counter_5, counter_6), counter_7) == counter_7 {
| ^~
| ;