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

Compile Error

doll_noi.cpp: In function ‘int main()’:
doll_noi.cpp:12:6: error: conflicting declaration ‘long long int x [a]’
12 | int x[a];
| ^
doll_noi.cpp:10:9: note: previous declaration as ‘long long int x’
10 | int x; cout << x;
| ^
doll_noi.cpp:13:15: error: expected ‘;’ before ‘)’ token
13 | for(int i = 0); i<x;i++;){
| ^
| ;
doll_noi.cpp:13:15: error: expected primary-expression before ‘)’ token
doll_noi.cpp:13:15: error: expected ‘;’ before ‘)’ token
13 | for(int i = 0); i<x;i++;){
| ^
| ;
doll_noi.cpp:13:26: error: expected primary-expression before ‘)’ token
13 | for(int i = 0); i<x;i++;){
| ^