Borderou de evaluare (job #1489363)

Utilizator Vlad_317Vlad Panait Vlad_317 Data 21 septembrie 2015 00:32:32
Problema Clepsidru Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void p1(int)’: user.cpp:23:12: error: ‘n’ was not declared in this scope if(sus<n) ^ user.cpp:25:14: error: ‘x’ was not declared in this scope sus+=x; ^ user.cpp:28:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:28:5: error: expected ‘;’ before ‘}’ token user.cpp: In function ‘int main()’: user.cpp:43:17: warning: unused variable ‘j’ [-Wunused-variable] int n,b,k,i,j,s,p; ^ user.cpp:45:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d%d",&n,&b,&k); ^ user.cpp:54:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&s,&p); ^

Ceva nu functioneaza?