Borderou de evaluare (job #1862796)

Utilizator caesar2001Stoica Alexandru caesar2001 Data 30 ianuarie 2017 11:53:49
Problema Sume 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘unsigned int nrper(int)’: user.cpp:11:21: error: ‘n’ was not declared in this scope int rez = 0,j = n; ^ user.cpp: In function ‘int main()’: user.cpp:32:19: error: ‘sort’ was not declared in this scope sort(v+1,v+n+1); ^ user.cpp:34:5: error: ‘r’ was not declared in this scope r = 0; ^ user.cpp:37:23: error: expected primary-expression before ‘)’ token if(r + pas <= ) ^ user.cpp:39:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:39:5: error: expected ‘;’ before ‘}’ token user.cpp:29:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d %ud",&n,&k); ^ user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&v[i]); ^

Ceva nu functioneaza?