Problem democracy
User Jinyu
Submission Time 2024-06-21 13:55:06
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:10:16: error: ‘i’ was not declared in this scope
10 | for (int i = 0;i < friends; ++i) {
| ^
democracy.cpp:19:5: error: unable to find numeric literal operator ‘operator""q’
19 | if (7q >= 6q and 7q >= 5q)
| ^~
democracy.cpp:19:11: error: unable to find numeric literal operator ‘operator""q’
19 | if (7q >= 6q and 7q >= 5q)
| ^~
democracy.cpp:19:18: error: unable to find numeric literal operator ‘operator""q’
19 | if (7q >= 6q and 7q >= 5q)
| ^~
democracy.cpp:19:24: error: unable to find numeric literal operator ‘operator""q’
19 | if (7q >= 6q and 7q >= 5q)
| ^~
democracy.cpp:21:5: error: unable to find numeric literal operator ‘ope