Borderou de evaluare (job #1889381)

Utilizator zdavid112zIon David-Gabriel zdavid112z Data 22 februarie 2017 18:19:15
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void adauga(Trie*, char*, int)’: user.cpp:22:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*v == NULL) return; ^ user.cpp: In function ‘void adaugb(Trie*, char*, int)’: user.cpp:36:14: warning: NULL used in arithmetic [-Wpointer-arith] if(*v == NULL) return; ^ user.cpp: In function ‘void adaugSira(char*, int)’: user.cpp:46:28: warning: NULL used in arithmetic [-Wpointer-arith] for(int i = 0; v[i] != NULL; i++) ^ user.cpp: In function ‘void adaugSirb(char*, int)’: user.cpp:54:28: warning: NULL used in arithmetic [-Wpointer-arith] for(int i = 0; v[i] != NULL; i++) ^ user.cpp: In function ‘int main()’: user.cpp:79:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.in", "r", stdin); ^ user.cpp:80:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sub.out", "w", stdout); ^ user.cpp:81:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &na); ^ user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", sir); ^ user.cpp:87:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &nb); ^ user.cpp:90:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s", sir); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms324kbOK10
20ms732kbOK10
34ms2740kbOK10
428ms15988kbOK10
5168ms92956kbOK10
696ms54436kbOK10
7Depăşit122456kbTime limit exceeded.0
8Depăşit122588kbTime limit exceeded.0
9Depăşit121792kbTime limit exceeded.0
10Depăşit121528kbTime limit exceeded.0
Punctaj total60

Ceva nu functioneaza?