Pagini recente » Borderou de evaluare (job #2175956) | Borderou de evaluare (job #492966) | Borderou de evaluare (job #655531) | Borderou de evaluare (job #2606152) | Borderou de evaluare (job #1415540)
Borderou de evaluare (job #1415540)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:33: warning: format ‘%f’ expects argument of type ‘double’, but argument 3 has type ‘long double’ [-Wformat=]
fprintf(out,"%.10f\n",xval*m/s);
^
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:29: warning: ‘xval’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(out,"%.10f\n",xval*m/s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 300ms | 284kb | Incorect | 0 |
Punctaj total | 0 |