Pagini recente » Borderou de evaluare (job #757156) | Borderou de evaluare (job #1904071) | Borderou de evaluare (job #1150552) | Borderou de evaluare (job #1746505) | Borderou de evaluare (job #1208491)
Borderou de evaluare (job #1208491)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%Lf%Lf%Lf%Lf",&wf,&hf,&wp,&hp);
^
user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 4 has type ‘double*’ [-Wformat=]
user.cpp:8:38: warning: format ‘%Lf’ expects argument of type ‘long double*’, but argument 5 has type ‘double*’ [-Wformat=]
user.cpp:12:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 2 has type ‘double’ [-Wformat=]
printf("%.2Lf %.2Lf",w,h);
^
user.cpp:12:26: warning: format ‘%Lf’ expects argument of type ‘long double’, but argument 3 has type ‘double’ [-Wformat=]
user.cpp:5:35: 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);
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scalecrop.out","w",stdout);
^
user.cpp:8:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%Lf%Lf%Lf%Lf",&wf,&hf,&wp,&hp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | Incorect | 0 | 0 |
2 | 0ms | 304kb | Incorect | 0 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 304kb | Incorect | 0 |
6 | 0ms | 308kb | Incorect | 0 |
7 | 0ms | 308kb | Incorect | 0 |
8 | 0ms | 300kb | Incorect | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 0ms | 308kb | Incorect | 0 |
Punctaj total | 0 |