Pagini recente » Borderou de evaluare (job #2546120) | Borderou de evaluare (job #2475271) | Borderou de evaluare (job #2847336) | Borderou de evaluare (job #2249256) | Borderou de evaluare (job #2248966)
Borderou de evaluare (job #2248966)
Raport evaluator
Compilare:
user.cpp: In function ‘void solveTest(int, std::vector<long long int>&, FILE*)’:
user.cpp:51:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(out, "%d\n", calculate_raspuns(r, N));
^
user.cpp: In function ‘int main()’:
user.cpp:65:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘__gnu_cxx::__alloc_traits<std::allocator<long long int> >::value_type* {aka long long int*}’ [-Wformat=]
fscanf(fd, "%d", &v[i]);
^
user.cpp:59:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd, "%d", &t);
^
user.cpp:62:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd, "%d", &N);
^
user.cpp:65:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fd, "%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 3676kb | Time limit exceeded. | 0 |
Punctaj total | 0 |