Borderou de evaluare (job #1890510)

Utilizator LauraNaduLaura Nadu LauraNadu Data 23 februarie 2017 12:21:53
Problema Triunghi5 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:27:23: error: ‘sort’ was not declared in this scope sort(a+1,a+n+1); ^ user.cpp:28:9: error: ‘m’ was not declared in this scope m=n; ^ user.cpp:31:13: error: ‘p’ was not declared in this scope p=a[1]; ^ user.cpp:32:13: error: ‘u’ was not declared in this scope u=a[2]; ^ user.cpp:37:13: error: ‘p’ was not declared in this scope p=0; ^ user.cpp:38:13: error: ‘u’ was not declared in this scope u=1; ^ user.cpp:41:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:41:5: error: expected ‘;’ before ‘}’ token

Ceva nu functioneaza?