Borderou de evaluare (job #616755)

Utilizator avatar EricStesco Eric Tiberiu Stesco EricStesco IP ascuns
Problemă Brățara (clasele 5/6) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 nov. 2021 19:47:56 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:55:9: error: 'pos' was not declared in this scope; did you mean 'pow'? 55 | pos[v[1].prim2]=1; | ^~~ | pow main.cpp:56:9: error: 'fr' was not declared in this scope 56 | fr[v[1].prim2]=1; | ^~ main.cpp:57:9: error: 'aux' was not declared in this scope 57 | aux[++h]=v[1].prim2; | ^~~ main.cpp:64:43: error: 'maxim' was not declared in this scope 64 | if(i-pos[v[i].ult2]+1>maxim) | ^~~~~ main.cpp:67:25: error: 'poz2' was not declared in this scope 67 | poz2=i; | ^~~~ main.cpp:84:21: error: 'j' was not declared in this scope 84 | for(j=1;j<=h;j++) | ^ main.cpp:95:12: error: 'maxim' was not declared in this scope 95 | if(maxim&&poz2) | ^~~~~ main.cpp:95:19: error: 'poz2' was not declared in this scope 95 | if(maxim&&poz2) | ^~~~