Pagini recente » Borderou de evaluare (job #2588838) | Borderou de evaluare (job #2025521) | Borderou de evaluare (job #2868102) | Borderou de evaluare (job #1698721) | Borderou de evaluare (job #2300120)
Borderou de evaluare (job #2300120)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:27: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'long double*' [-Wformat=]
scanf("%lf%lf", &x, &m);
^
main.cpp:10:27: warning: format '%lf' expects argument of type 'double*', but argument 3 has type 'long double*' [-Wformat=]
main.cpp:15:25: warning: format '%f' expects argument of type 'double', but argument 2 has type 'long double' [-Wformat=]
printf("%.7f", r);
^
main.cpp:7:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.in", "r", stdin);
^
main.cpp:8:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("noroc.out", "w", stdout);
^
main.cpp:10:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x, &m);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 2ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 20 |