Problem taxcollection
User carson
Submission Time 2026-01-12 16:27:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

taxcollection.cpp: In function ‘int main()’:
taxcollection.cpp:21:17: error: expected ‘)’ before ‘}’ token
21 | if(enemies[i]
| ~ ^
| )
......
28 | }
| ~
taxcollection.cpp:28:1: error: expected primary-expression before ‘}’ token
28 | }
| ^
taxcollection.cpp:28:1: error: expected ‘}’ at end of input
taxcollection.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^