Borderou de evaluare (job #1046946)

Utilizator anca1243Popescu Anca anca1243 Data 3 decembrie 2013 18:43:08
Problema Proc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void coboara(int, int*, int)’: user.cpp:25:5: error: expected ‘;’ before ‘schimba’ schimba(bun,p,h); ^ user.cpp: In function ‘void sterge(int, int*, int)’: user.cpp:39:13: error: too few arguments to function ‘void urca(int, int*, int)’ urca(p,h); ^ user.cpp:28:6: note: declared here void urca(int p,int h[N],int nh) ^ user.cpp:40:16: error: too few arguments to function ‘void coboara(int, int*, int)’ coboara(p,h); ^ user.cpp:18:6: note: declared here void coboara(int p, int h[N],int nh) ^ user.cpp: In function ‘void adauga(int, int*, int)’: user.cpp:45:14: error: too few arguments to function ‘void urca(int, int*, int)’ urca(nh,h); ^ user.cpp:28:6: note: declared here void urca(int p,int h[N],int nh) ^ user.cpp: In function ‘int main()’: user.cpp:49:12: error: ‘m’ was not declared in this scope in>>n>>m; ^ user.cpp:52:9: warning: unused variable ‘p’ [-Wunused-variable] int p=1; ^

Ceva nu functioneaza?