Borderou de evaluare (job #1447632)

Utilizator IoanaaChriistinaaPascal Ioana-Cristina IoanaaChriistinaa Data 4 iunie 2015 21:30:30
Problema Datorii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void up(int, int)’: user.cpp:8:19: error: ‘n’ was not declared in this scope for(int i=poz;i<=n;i+=zeros(i)) ^ user.cpp:9:3: error: ‘AIB’ was not declared in this scope AIB[i]+=quantity; ^ user.cpp: In function ‘void down(int, int)’: user.cpp:13:19: error: ‘n’ was not declared in this scope for(int i=poz;i<=n;i+=zeros(i)) ^ user.cpp:14:3: error: ‘AIB’ was not declared in this scope AIB[i]-=quantity; ^ user.cpp: In function ‘int sum(int)’: user.cpp:18:8: error: ‘o’ was not declared in this scope int s=o; ^ user.cpp:20:6: error: ‘AIB’ was not declared in this scope s+=AIB[i]; ^ user.cpp: In function ‘int main()’: user.cpp:27:6: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++) in>>x, up(i,x); ^

Ceva nu functioneaza?