Problem democracy
User Jinyu
Submission Time 2024-06-21 13:55:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

democracy.cpp: In function ‘int main()’:
democracy.cpp:7:5: error: expected unqualified-id before numeric constant
7 | int 5q = 0;
| ^~
democracy.cpp:8:5: error: expected unqualified-id before numeric constant
8 | int 6q = 0;
| ^~
democracy.cpp:9:5: error: expected unqualified-id before numeric constant
9 | int 7q = 0;
| ^~
democracy.cpp:14:1: error: unable to find numeric literal operator ‘operator""q’
14 | 5q += 1;}
| ^~
democracy.cpp:16:1: error: unable to find numeric literal operator ‘operator""q’
16 | 6q += 1;}
| ^~
democracy.cpp:18:1: error: unable to find numeric literal operator ‘operator""q’
18 | 7q += 1;}
| ^~
democracy.cpp:20:5: error: unable to find numeric literal operator ‘operator""q’
20 | if (7q >= 6q and 7q >= 5q)
| ^~
democracy.cpp:20:11: error: unable to find numeric literal operator ‘operator""q’
20 | if (7q