Borderou de evaluare (job #1607092)

Utilizator Valentin0709Datcu George Valentin Valentin0709 Data 20 februarie 2016 20:15:58
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:14:13: error: conflicting declaration ‘long long int x’ long long s,x; ^ user.cpp:13:9: error: ‘x’ has a previous declaration as ‘int x’ int n,p,x,i,o,mn,uc,dim; ^ user.cpp: In function ‘int main()’: user.cpp:21:27: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(f,"%lld",&x); ^ user.cpp:18:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&p); ^ user.cpp:21:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&x); ^ user.cpp:28:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&p); ^ user.cpp:34:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&v[i].t); ^

Ceva nu functioneaza?