Problem ballot
User Ski3r3n
Submission Time 2023-11-14 11:18:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ballot.cpp: In function ‘int main()’:
ballot.cpp:26:6: error: expected ‘catch’ before ‘(’ token
26 | if (aub == nm.end()){
| ^
ballot.cpp:26:7: error: ‘aub’ does not name a type
26 | if (aub == nm.end()){
| ^~~
ballot.cpp:26:10: error: expected ‘)’ before ‘==’ token
26 | if (aub == nm.end()){
| ~ ^~~
| )
ballot.cpp:26:11: error: expected ‘{’ before ‘==’ token
26 | if (aub == nm.end()){
| ^~
ballot.cpp:26:11: error: expected primary-expression before ‘==’ token
ballot.cpp:30:3: error: expected primary-expression before ‘catch’
30 | catch (...){
| ^~~~~