Borderou de evaluare (job #1409255)

Utilizator StarGold2Emanuel Nrx StarGold2 Data 30 martie 2015 14:19:35
Problema Trapez Status done
Runda Arhiva de probleme 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 Shift(int)’: user.cpp:25:12: error: ‘Arb’ was not declared in this scope if(Arb[p] < Arb[c]){ ^ user.cpp: In function ‘void BuildArb(int, int, int)’: user.cpp:38:9: error: ‘Arb’ was not declared in this scope Arb[pos] = V[st]; ^ user.cpp:38:20: error: ‘V’ was not declared in this scope Arb[pos] = V[st]; ^ user.cpp:44:9: error: ‘Arb’ was not declared in this scope Arb[pos] = MAX(Arb[pos*2], Arb[pos*2+1]); ^ user.cpp: In function ‘void Find(int, int, int)’: user.cpp:51:9: error: ‘Arb’ was not declared in this scope Arb[pos] = b; ^ user.cpp:51:20: error: ‘b’ was not declared in this scope Arb[pos] = b; ^ user.cpp:56:12: error: ‘a’ was not declared in this scope if(a <= mid) ^ user.cpp: In function ‘void GetMax(int, int, int)’: user.cpp:66:12: error: ‘maxim’ was not declared in this scope if(maxim < Arb[pos]) ^ user.cpp:66:20: error: ‘Arb’ was not declared in this scope if(maxim < Arb[pos]) ^ user.cpp:70:12: error: ‘a’ was not declared in this scope if(a >= st && b <= mid) ^ user.cpp:70:23: error: ‘b’ was not declared in this scope if(a >= st && b <= mid) ^ user.cpp:70:28: error: ‘mid’ was not declared in this scope if(a >= st && b <= mid) ^

Ceva nu functioneaza?