Pagini recente » Borderou de evaluare (job #3249196) | Borderou de evaluare (job #2070379) | Borderou de evaluare (job #3274679) | Borderou de evaluare (job #771066) | Borderou de evaluare (job #2229313)
Borderou de evaluare (job #2229313)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:47: warning: format ‘%lf’ expects argument of type ‘double’, but argument 3 has type ‘int’ [-Wformat=]
printf("%.2lf %.2lf",((double)c*b/d),b);
^
user.cpp:8:47: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%.2lf %.2lf",a,((double)d*a/c));
^
user.cpp:4:104: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scalecrop.in","r",stdin),freopen("scalecrop.out","w",stdout),scanf("%d%d%d%d",&a,&b,&c,&d);
^
user.cpp:4:104: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:4:104: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 756kb | Incorect | 0 | 0 |
2 | 0ms | 876kb | Incorect | 0 |
3 | 0ms | 752kb | Incorect | 0 |
4 | 0ms | 796kb | Incorect | 0 |
5 | 0ms | 872kb | Incorect | 0 |
6 | 0ms | 856kb | Incorect | 0 |
7 | 0ms | 808kb | Incorect | 0 |
8 | 0ms | 804kb | Incorect | 0 |
9 | 0ms | 756kb | Incorect | 0 |
10 | 0ms | 876kb | Incorect | 0 |
Punctaj total | 0 |