Borderou de evaluare (job #1501408)

Utilizator RaduMirceaAndreiRadu Mircea Andrei RaduMirceaAndrei Data 13 octombrie 2015 13:25:49
Problema Char Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:11:15: error: ‘sort’ was not declared in this scope sort(v,v+n); ^ user.cpp:13:9: error: ‘i’ was not declared in this scope for(i=1;i<=nr;i++){ ^ user.cpp:16:5: error: ‘val’ was not declared in this scope val=p[1]; ^ user.cpp:19:5: error: ‘h’ was not declared in this scope h=1; ^ user.cpp:20:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:27:9: error: ‘i’ was not declared in this scope for(i=1;i<n;i++){ ^ user.cpp:28:13: error: ‘j’ was not declared in this scope for(j=i+1;j<=n;j++){ ^ user.cpp:30:17: error: ‘aux’ was not declared in this scope aux=sf[i]; ^ user.cpp:40:9: error: expected primary-expression before ‘)’ token for() ^ user.cpp:40:9: error: expected ‘;’ before ‘)’ token user.cpp:42:1: error: expected primary-expression before ‘}’ token } ^ user.cpp:42:1: error: expected ‘;’ before ‘}’ token user.cpp:42:1: error: expected primary-expression before ‘}’ token user.cpp:42:1: error: expected ‘)’ before ‘}’ token user.cpp:42:1: error: expected primary-expression before ‘}’ token user.cpp:42:1: error: expected ‘;’ before ‘}’ token

Ceva nu functioneaza?