Borderou de evaluare (job #1782512)

Utilizator enacheionutEnache Ionut enacheionut Data 18 octombrie 2016 11:03:13
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:30: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:13: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:43: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:52: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:53: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:56: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ăşit484kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?