Pagini recente » Borderou de evaluare (job #184572) | Borderou de evaluare (job #964454) | Borderou de evaluare (job #1370515) | Borderou de evaluare (job #832625) | Borderou de evaluare (job #1208504)
Borderou de evaluare (job #1208504)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 2 has type ‘double*’ [-Wformat=]
scanf("%f%f%f%f",&wf,&hf,&wp,&hp);
^
user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 3 has type ‘double*’ [-Wformat=]
user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 4 has type ‘double*’ [-Wformat=]
user.cpp:8:34: warning: format ‘%f’ expects argument of type ‘float*’, but argument 5 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:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%f%f%f%f",&wf,&hf,&wp,&hp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | Incorect | 0 | 0 |
2 | 0ms | 300kb | Incorect | 0 |
3 | 0ms | 300kb | Incorect | 0 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 300kb | Incorect | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 0ms | 304kb | Incorect | 0 |
8 | 0ms | 300kb | Incorect | 0 |
9 | 0ms | 304kb | Incorect | 0 |
10 | 0ms | 304kb | Incorect | 0 |
Punctaj total | 0 |