Pagini recente » Borderou de evaluare (job #2652268) | Borderou de evaluare (job #2145754) | Borderou de evaluare (job #622399) | Borderou de evaluare (job #2517057) | Borderou de evaluare (job #1415549)
Borderou de evaluare (job #1415549)
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 |
1 | 296ms | 284kb | Incorect | 0 |
Punctaj total | 0 |