Borderou de evaluare (job #2728861)

Utilizator SebicaPGLSebastian Ionel SebicaPGL Data 23 martie 2021 19:55:41
Problema Deque Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:25:63: error: expected ']' before ')' token while(inceput <= sfarsit && v[i] <= v[dequeue[sfarsit]){ ^ main.cpp:35:20: error: 'sum' was not declared in this scope if(i >= k) sum += v[dequeue[inceput]; ^~~ main.cpp:35:45: error: expected ']' before ';' token if(i >= k) sum += v[dequeue[inceput]; ^ main.cpp:38:10: error: 'suma' was not declared in this scope o << suma; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?