Borderou de evaluare (job #2630595)

Utilizator Stefan4814Voicila Stefan Stefan4814 Data 26 iunie 2020 13:14:46
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:22:9: error: 'x' was not declared in this scope s = x[deq.front()]; */ ^ main.cpp:22:26: error: expected primary-expression before '/' token s = x[deq.front()]; */ ^ main.cpp:23:5: error: expected primary-expression before 'for' for(i = k + 1; i <= n; i++) { ^~~ main.cpp:23:22: warning: statement has no effect [-Wunused-value] for(i = k + 1; i <= n; i++) { ~~^~~~ main.cpp:23:31: error: expected ';' before ')' token for(i = k + 1; i <= n; i++) { ^ main.cpp:36:1: error: expected '}' at end of input } ^ Non zero exit status: 1

Ceva nu functioneaza?