Borderou de evaluare (job #3200037)

Utilizator ImphinityComan Razvan Ioan Imphinity Data 3 februarie 2024 12:44:22
Problema Deque Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:8:7: error: 'NMAX' does not name a type 8 | const NMAX= 5e6+ 1; | ^~~~ main.cpp:10:7: error: 'NMAX' was not declared in this scope 10 | int a[NMAX]; | ^~~~ main.cpp: In function 'int main()': main.cpp:17:14: error: 'a' was not declared in this scope 17 | fin>>a[i]; | ^ main.cpp:22:30: error: 'a' was not declared in this scope 22 | while(!dq.empty() && a[dq.back()]>=a[i]) | ^ main.cpp:26:19: error: 'a' was not declared in this scope 26 | long long sum=a[dq.front()]; | ^ Non zero exit status: 1

Ceva nu functioneaza?