Pagini recente » Borderou de evaluare (job #2695399) | Borderou de evaluare (job #408706) | Borderou de evaluare (job #524490) | Borderou de evaluare (job #708120) | Borderou de evaluare (job #1798768)
Borderou de evaluare (job #1798768)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:26: warning: format ‘%f’ expects argument of type ‘double’, but argument 2 has type ‘int’ [-Wformat=]
printf("%0.7f", 0);
^
user.cpp:17:23: warning: format ‘%lf’ expects argument of type ‘double’, but argument 2 has type ‘long double’ [-Wformat=]
printf("%0.7lf", r);
^
user.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);
^
user.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);
^
user.cpp:10:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &m);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | Incorect | 0 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 288kb | Incorect | 0 |
7 | 0ms | 284kb | Incorect | 0 |
8 | 0ms | 288kb | Incorect | 0 |
9 | 0ms | 288kb | Incorect | 0 |
10 | 0ms | 288kb | Incorect | 0 |
Punctaj total | 20 |