Pagini recente » Borderou de evaluare (job #2518536) | Borderou de evaluare (job #2965127) | Borderou de evaluare (job #182614) | Borderou de evaluare (job #714419) | Borderou de evaluare (job #1720758)
Borderou de evaluare (job #1720758)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<double> >::value_type* {aka double*}’ [-Wformat=]
scanf("%lu %lu\n", &x[i],&y[i]);
^
user.cpp:35:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int*’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<double> >::value_type* {aka double*}’ [-Wformat=]
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.in","r",stdin);
^
user.cpp:29:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trapez.out","w",stdout);
^
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u\n",&n);
^
user.cpp:35:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lu %lu\n", &x[i],&y[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 7920kb | Ok! | 10 |
| 2 | 288ms | 7920kb | Ok! | 10 |
| 3 | 12ms | 7920kb | Ok! | 10 |
| 4 | 280ms | 7920kb | Ok! | 10 |
| 5 | 12ms | 7920kb | Ok! | 10 |
| 6 | 12ms | 7920kb | Ok! | 10 |
| 7 | 280ms | 7920kb | Ok! | 10 |
| 8 | 76ms | 7920kb | Ok! | 10 |
| 9 | 280ms | 7920kb | Ok! | 10 |
| 10 | 272ms | 7920kb | Ok! | 10 |
| Punctaj total | 100 |