Pagini recente » Borderou de evaluare (job #2325052) | Borderou de evaluare (job #701216) | Borderou de evaluare (job #3170334) | Borderou de evaluare (job #696250) | Borderou de evaluare (job #2009360)
Borderou de evaluare (job #2009360)
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("%.3lf\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:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:14:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld%lld%lld",&R,&alpha,&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 964ms | 448kb | raspuns gresit | 0 |
Punctaj total | 0 |