Borderou de evaluare (job #1827959)

Utilizator triscacezarTrisca Vicol Cezar triscacezar Data 12 decembrie 2016 16:31:22
Problema Hotel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void upd(int, int, int)’: user.cpp:16:8: error: ‘L’ was not declared in this scope if(L<=st&&dr<=R) ^ user.cpp:16:19: error: ‘R’ was not declared in this scope if(L<=st&&dr<=R) ^ user.cpp:18:9: error: ‘tip’ was not declared in this scope tip[nod]=val;//??? ^ user.cpp:18:18: error: ‘val’ was not declared in this scope tip[nod]=val;//??? ^ user.cpp:20:13: error: ‘stg’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=0; ^ user.cpp:20:22: error: ‘dre’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=0; ^ user.cpp:20:31: error: ‘best’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=0; ^ user.cpp:22:13: error: ‘stg’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=dr-st+1; ^ user.cpp:22:22: error: ‘dre’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=dr-st+1; ^ user.cpp:22:31: error: ‘best’ was not declared in this scope stg[nod]=dre[nod]=best[nod]=dr-st+1; ^ user.cpp:25:5: error: ‘mi’ was not declared in this scope mi=(st+dr)/2; ^ user.cpp:30:5: error: ‘stg’ was not declared in this scope stg[nod]=stg[FS]; ^ user.cpp:31:17: error: ‘best’ was not declared in this scope if(stg[FS]==best[FS]) ^ user.cpp:33:5: error: ‘dre’ was not declared in this scope dre[nod]=dre[FD]; ^ user.cpp:34:17: error: ‘best’ was not declared in this scope if(dre[FD]==best[FD]) ^

Ceva nu functioneaza?