Borderou de evaluare (job #1415547)

Utilizator ArkinyStoica Alex Arkiny Data 5 aprilie 2015 00:17:46
Problema Mafia Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:29: warning: format ‘%lf’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=] fprintf(out,"%.10lf\n",p*m); ^ user.cpp:9:21: warning: unused variable ‘k’ [-Wunused-variable] int t,x,n,m,i,j,el,k; ^ user.cpp:11:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&t); ^ user.cpp:15:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d",&n,&m,&x); ^ user.cpp:18:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&el); ^ user.cpp:23:22: warning: ‘xval’ may be used uninitialized in this function [-Wmaybe-uninitialized] long double p=xval/s; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1316ms284kbIncorect0
Punctaj total0

Ceva nu functioneaza?