Borderou de evaluare (job #2889491)

Utilizator Dimitri1999Dimitri-Theodor Mitran Dimitri1999 Data 12 aprilie 2022 20:28:05
Problema Vila 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:17:18: error: 'x' was not declared in this scope 17 | { while(v[i] >= x[deq[p2]] && p2>=p1 ) | ^ main.cpp:27:3: error: 'dq2' was not declared in this scope; did you mean 'deq2'? 27 | dq2[p4]=i; | ^~~ | deq2 main.cpp:30:6: error: 'x' was not declared in this scope 30 | if(x[deq[p1]] - v[deq2[p3]] > mxm ) | ^ main.cpp:11:10: warning: unused variable 'j' [-Wunused-variable] 11 | { int i, j; | ^ Non zero exit status: 1

Ceva nu functioneaza?