Borderou de evaluare (job #1897428)

Utilizator MithrilBratu Andrei Mithril Data 1 martie 2017 13:46:49
Problema Cerere Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int getParent(int, int)’: user.cpp:13:8: error: ‘memo’ was not declared in this scope if(memo[i]!=-1) ^ user.cpp:13:13: error: ‘i’ was not declared in this scope if(memo[i]!=-1) ^ user.cpp:14:9: warning: unused variable ‘l’ [-Wunused-variable] int l=kcost[nod]; ^ user.cpp:15:27: error: ‘l’ was not declared in this scope for(int p=0 ; (1<<p)<=l ; p++) ^

Ceva nu functioneaza?