Borderou de evaluare (job #1415549)

Utilizator ArkinyStoica Alex Arkiny Data 5 aprilie 2015 00:25:10
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:25: warning: unused variable ‘k’ [-Wunused-variable] long long 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:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld%lld%lld",&n,&m,&x); ^ user.cpp:18:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%lld",&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
1296ms284kbIncorect0
Punctaj total0

Ceva nu functioneaza?