Problem chope
User idontlikeboystrustme
Submission Time 2025-12-05 16:04:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chope.cpp: In function ‘int main()’:
chope.cpp:12:21: error: expected primary-expression before ‘]’ token
12 | if(a[i] == 1){v++;]
| ^
chope.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
chope.cpp:10:28: note: to match this ‘{’
10 | for(int i = 0; i < n; i++){
| ^
chope.cpp:43:1: error: expected ‘}’ at end of input
43 | }
| ^
chope.cpp:4:14: note: to match this ‘{’
4 | signed main(){
| ^