Borderou de evaluare (job #600622)

Utilizator avatar Mihneasuprem5000 Stoica Mihnea Teodor Mihneasuprem5000 IP ascuns
Problemă Portofel (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 20 iun. 2021 11:54:12 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:34:15: error: 'v1' was not declared in this scope; did you mean 'v'? 34 | while(v1[poz1] <= v2[poz2]) | ^~ | v main.cpp:34:27: error: 'v2' was not declared in this scope; did you mean 'v'? 34 | while(v1[poz1] <= v2[poz2]) | ^~ | v main.cpp:38:15: error: 'v2' was not declared in this scope; did you mean 'v'? 38 | while(v2[poz2] <= v1[poz1]) | ^~ | v main.cpp:38:27: error: 'v1' was not declared in this scope; did you mean 'v'? 38 | while(v2[poz2] <= v1[poz1]) | ^~ | v main.cpp:41:13: error: 'ok' was not declared in this scope; did you mean 'k'? 41 | ok = 1; | ^~ | k main.cpp:43:12: error: 'ok' was not declared in this scope; did you mean 'k'? 43 | if(ok == 1) | ^~ | k main.cpp:45:13: error: 'cnt' was not declared in this scope; did you mean 'int'? 45 | cnt ++; | ^~~ | int main.cpp:47:9: error: 'ok' was not declared in this scope; did you mean 'k'? 47 | ok = 0; | ^~ | k main.cpp:49:17: error: 'cnt' was not declared in this scope; did you mean 'int'? 49 | cout<<endl<<cnt; | ^~~ | int