Borderou de evaluare (job #1782510)

Utilizator enacheionutEnache Ionut enacheionut Data 18 octombrie 2016 11:01:03
Problema Flori2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int NumarulMaximDePuncteColiniare(std::vector<std::pair<long int, long int> >&, int)’: user.cpp:34:62: warning: NULL used in arithmetic [-Wpointer-arith] panta[pantaPuncte] = ( panta[pantaPuncte] == NULL ) ? 2 : ++panta[pantaPuncte]; ^ user.cpp: In function ‘void CitirePuncte(std::vector<std::pair<long int, long int> >&, int)’: user.cpp:17:61: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld%ld", &puncte[i].first, &puncte[i].second); ^ user.cpp: In function ‘void ProcesareTeste(int)’: user.cpp:47:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &numarPuncte); ^ user.cpp: In function ‘int main()’: user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.in", "r", stdin ); ^ user.cpp:57:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori2.out", "w", stdout ); ^ user.cpp:60:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &numarTeste); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit512kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?