Borderou de evaluare (job #1409154)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 30 martie 2015 13:48:30
Problema Arbori de intervale Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:7: error: ‘DIM’ was not declared in this scope int V[DIM], Arb[DIM]; ^ user.cpp:8:17: error: ‘DIM’ was not declared in this scope int V[DIM], Arb[DIM]; ^ user.cpp: In function ‘void SetUp()’: user.cpp:13:16: error: ‘V’ was not declared in this scope fin >> V[i]; ^ user.cpp: In function ‘void BuildArb(int, int, int)’: user.cpp:24:9: error: ‘Arb’ was not declared in this scope Arb[pos] = V[st]; ^ user.cpp:24:20: error: ‘V’ was not declared in this scope Arb[pos] = V[st]; ^ user.cpp:30:9: error: ‘Arb’ was not declared in this scope Arb[pos] = MAX(Arb[pos*2], Arb[pos*2+1]); ^ user.cpp: In function ‘int main()’: user.cpp:38:16: error: ‘CodeExpert’ was not declared in this scope CodeExpert(); ^ user.cpp: In function ‘int MAX(int, int)’: user.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?