Pagini recente » Borderou de evaluare (job #22418) | Borderou de evaluare (job #526681) | Borderou de evaluare (job #345269) | Borderou de evaluare (job #613676) | Borderou de evaluare (job #1743207)
Borderou de evaluare (job #1743207)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘uint64_t* {aka long long unsigned int*}’ [-Wformat=]
scanf("%d", &N);
^
user.cpp:22:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type* {aka long long unsigned int*}’ [-Wformat=]
scanf("%d", &a[i]);
^
user.cpp:47:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ [-Wformat=]
printf("%d\n", L);
^
user.cpp:61:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type {aka long long unsigned int}’ [-Wformat=]
printf("%d ", res[i]);
^
user.cpp:62:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long unsigned int> >::value_type {aka long long unsigned int}’ [-Wformat=]
printf("%d\n", res[L-1]);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in", "r", stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out", "w", stdout);
^
user.cpp:19:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:22:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 304kb | Corect! | 10 | 10 |
2 | 0ms | 340kb | Corect! | 10 | 10 |
3 | 0ms | 280kb | Corect! | 10 | 10 |
4 | 0ms | 284kb | Corect! | 10 | 10 |
5 | 0ms | 284kb | Corect! | 10 | 10 |
6 | 0ms | 296kb | Corect! | 10 | 10 |
7 | 0ms | 308kb | Corect! | 10 | 10 |
8 | 52ms | 2376kb | Corect! | 10 | 30 |
9 | 36ms | 2376kb | Corect! | 10 |
10 | 52ms | 2376kb | Corect! | 10 |
Punctaj total | 100 |