Pagini recente » Borderou de evaluare (job #85109) | Borderou de evaluare (job #786139) | Borderou de evaluare (job #9179) | Borderou de evaluare (job #314014) | Borderou de evaluare (job #1282841)
Borderou de evaluare (job #1282841)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:45:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type* {aka long long int*}’ [-Wformat=]
fscanf(in, "%ld", &v[i]);
^
user.cpp:48:44: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%ld\n", ans(U) - ans(L - 1));
^
user.cpp:38:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &N);
^
user.cpp:39:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &L);
^
user.cpp:40:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &U);
^
user.cpp:45:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%ld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 432kb | Incorect | 0 |
2 | 4ms | 472kb | Incorect | 0 |
3 | 12ms | 576kb | Incorect | 0 |
4 | 56ms | 1088kb | Incorect | 0 |
5 | 60ms | 1356kb | Incorect | 0 |
6 | 220ms | 2632kb | Incorect | 0 |
7 | 572ms | 5932kb | Incorect | 0 |
8 | 684ms | 7648kb | Incorect | 0 |
9 | 864ms | 14288kb | Incorect | 0 |
10 | 1784ms | 17840kb | Incorect | 0 |
Punctaj total | 0 |