Borderou de evaluare (job #1717626)

Utilizator EpictetStamatin Cristian Epictet Data 15 iunie 2016 12:57:26
Problema Sub Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In constructor ‘Trie::Trie()’: user.cpp:18:42: warning: passing NULL to non-pointer argument 2 of ‘void* memset(void*, int, size_t)’ [-Wconversion-null] memset(son, NULL, sizeof(son)); ^ user.cpp: In function ‘void Ins_A(Trie*, char*, int&)’: user.cpp:34:15: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL) ^ user.cpp: In function ‘void Ins_B(Trie*, char*, int&)’: user.cpp:55:15: warning: NULL used in arithmetic [-Wpointer-arith] if (*s == NULL || nod->son[*s - 'a'] == NULL) ^ user.cpp: In function ‘int main()’: user.cpp:82:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < strlen(S) - 1; j ++) ^ user.cpp:92:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < strlen(S) - 1; j ++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms468kbOK10
20ms904kbOK10
34ms2704kbOK10
436ms14980kbOK10
5180ms71180kbOK10
6Depăşit88888kbTime limit exceeded.0
7Depăşit123268kbTime limit exceeded.0
8Depăşit130392kbTime limit exceeded.0
9Depăşit129208kbTime limit exceeded.0
10Depăşit127488kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?