Pagini recente » Borderou de evaluare (job #385214) | Borderou de evaluare (job #3201698) | Borderou de evaluare (job #3183551) | Borderou de evaluare (job #728841) | Borderou de evaluare (job #1415547)
Borderou de evaluare (job #1415547)
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 |
1 | 316ms | 284kb | Incorect | 0 |
Punctaj total | 0 |