Pagini recente » Borderou de evaluare (job #1356521) | Borderou de evaluare (job #2789864) | Borderou de evaluare (job #822728) | Borderou de evaluare (job #52237) | Borderou de evaluare (job #2009358)
Borderou de evaluare (job #2009358)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:25:29: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=]
printf("%.5lf\n",val);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc2.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cerc2.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&R,&alpha,&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1016ms | 448kb | raspuns gresit | 0 |
Punctaj total | 0 |