Borderou de evaluare (job #3315371)

Utilizator ZebraMorariu Radu Dimitri Zebra Data 14 octombrie 2025 04:16:28
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:18:16: error: 'v' was not declared in this scope 18 | fin >> v[i]; | ^ main.cpp:23:31: error: 'v' was not declared in this scope 23 | while(!dq1.empty() && v[dq1.back()] >= v[i]) | ^ main.cpp:30:31: error: 'v' was not declared in this scope 30 | while(!dq2.empty() && v[dq2.back()] <= v[i]) | ^ main.cpp:38:34: error: 'v' was not declared in this scope 38 | difmax = max(difmax, v[dq2.front()] - v[dq1.front()]); | ^ Non zero exit status: 1

Ceva nu functioneaza?