Borderou de evaluare (job #2248966)

Utilizator ATM_Code17ATM Casapu Cujba Purice ATM_Code17 Data 29 septembrie 2018 13:57:56
Problema Guest Status done
Runda Nationala ACM ICPC 2018 Compilator cpp | Vezi sursa
Scor 0

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
1Depăşit3676kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?