Pagini recente » Borderou de evaluare (job #1188479) | Borderou de evaluare (job #1887881) | Cod sursa (job #548201) | Borderou de evaluare (job #1799572) | Borderou de evaluare (job #1798773)
Borderou de evaluare (job #1798773)
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:16: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 | 280kb | Incorect | 0 |
| 2 | 0ms | 280kb | Incorect | 0 |
| 3 | 0ms | 284kb | Incorect | 0 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 284kb | OK | 10 |
| 6 | 0ms | 280kb | Incorect | 0 |
| 7 | 0ms | 280kb | Incorect | 0 |
| 8 | 0ms | 284kb | Incorect | 0 |
| 9 | 0ms | 280kb | Incorect | 0 |
| 10 | 0ms | 284kb | Incorect | 0 |
| Punctaj total | 20 |