Borderou de evaluare (job #643186)

Utilizator avatar NoName NoName NoName IP ascuns
Problemă Goe (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 mar. 2022 15:42:54 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:58:5: error: 'v' was not declared in this scope 58 | v[1]=0; v[2]=1; v[3]=3; v[4]=8; | ^ main.cpp:65:13: error: 'pal' was not declared in this scope 65 | pal=v[i]; ok=1; | ^~~ main.cpp:75:13: error: 'pal' was not declared in this scope 75 | pal=v[i]*10+v[i]; ok=1; break; | ^~~ main.cpp:87:17: error: 'pal' was not declared in this scope 87 | pal=v[i]*100+v[j]*10+v[i]; ok=1; break; | ^~~ main.cpp:100:17: error: 'pal' was not declared in this scope 100 | pal=v[i]*1001+v[j]*110; ok=1; break; | ^~~ main.cpp:108:22: error: 'l' was not declared in this scope 108 | for (l=1;l<=4;l++) | ^ main.cpp:114:17: error: 'pal' was not declared in this scope 114 | pal=v[i]*10001+v[j]*1010+v[l]*100; ok=1; break; | ^~~ main.cpp:122:22: error: 'l' was not declared in this scope 122 | for (l=1;l<=4;l++) | ^ main.cpp:128:17: error: 'pal' was not declared in this scope 128 | pal=v[i]*100001+v[j]*10010+v[l]*1100; ok=1; break; | ^~~ main.cpp:132:8: error: 'pal' was not declared in this scope 132 | g<<pal; | ^~~