Borderou de evaluare (job #2229312)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:6:45: 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:45: 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 | 872kb | Incorect | 0 |
3 | 0ms | 936kb | Incorect | 0 |
4 | 0ms | 756kb | Incorect | 0 |
5 | 0ms | 796kb | Incorect | 0 |
6 | 0ms | 860kb | Incorect | 0 |
7 | 0ms | 868kb | Incorect | 0 |
8 | 0ms | 812kb | Incorect | 0 |
9 | 0ms | 796kb | Incorect | 0 |
10 | 0ms | 856kb | Incorect | 0 |
Punctaj total | 0 |