Borderou de evaluare (job #2889472)

Utilizator Andreeamiruna27Mindrescu Andreea Andreeamiruna27 Data 12 aprilie 2022 20:07:42
Problema Deque Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:5:11: error: expected initializer before string constant 5 | ofstream g"deque.out"); | ^~~~~~~~~~~ main.cpp:7:15: error: expected initializer before '.' token 7 | const int maxx.dim=5000005; | ^ main.cpp:8:7: error: 'maxx' was not declared in this scope 8 | int v[maxx.dim]; | ^~~~ main.cpp: In function 'int main()': main.cpp:18:12: error: 'v' was not declared in this scope 18 | f>>v[i]; | ^ main.cpp:22:45: error: 'v' was not declared in this scope 22 | while(!mini.empty() and mini.back()>v[i]) | ^ main.cpp:38:24: error: 'v' was not declared in this scope 38 | mini.push_back(v[i]); | ^ main.cpp:41:5: error: 'g' was not declared in this scope 41 | g<<sum; | ^ Non zero exit status: 1

Ceva nu functioneaza?