Problem doll_noi
User ShaquilleOatmeal34
Submission Time 2026-01-19 15:24:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:8:19: error: invalid types ‘<unresolved overloaded function type>[long long int]’ for array subscript
8 | int x; count[x];
| ^
doll_noi.cpp:10:8: error: ‘a’ was not declared in this scope
10 | int x[a];
| ^
doll_noi.cpp:11:15: error: expected ‘;’ before ‘)’ token
11 | for(int i = 0); i<x;i++){
| ^
| ;
doll_noi.cpp:11:15: error: expected primary-expression before ‘)’ token
doll_noi.cpp:11:15: error: expected ‘;’ before ‘)’ token
11 | for(int i = 0); i<x;i++){
| ^
| ;
doll_noi.cpp:11:18: error: ‘i’ was not declared in this scope
11 | for(int i = 0); i<x;i++){
| ^
doll_noi.cpp:15:1: error: expected ‘}’ at end of input
15 | }
| ^
doll_noi.cpp:5:15: note: to match this ‘{’
5 | signe