Borderou de evaluare (job #2399161)

Utilizator Daria09Florea Daria Daria09 Data 7 aprilie 2019 01:01:06
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void Insert(Trie*, char*)': main.cpp:22:15: warning: NULL used in arithmetic [-Wpointer-arith] if(*word==NULL) ^~~~ main.cpp: In function 'void Erase(Trie*, char*)': main.cpp:34:15: warning: NULL used in arithmetic [-Wpointer-arith] if(*word==NULL) ^~~~ main.cpp: In function 'int CountApparition(Trie*, char*)': main.cpp:43:15: warning: NULL used in arithmetic [-Wpointer-arith] if(*word==NULL) ^~~~ main.cpp: In function 'int Prefix(Trie*, char*, int)': main.cpp:51:43: warning: NULL used in arithmetic [-Wpointer-arith] if(node->son[*word-'a']==NULL||*word==NULL||node->son[*word-'a']->wordcount==0) ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
32ms131kbOK55
43ms131kbOK55
53ms131kbOK55
64ms131kbOK55
76ms131kbOK55
88ms131kbOK55
913ms393kbOK55
1020ms1441kbOK55
1122ms262kbOK55
1242ms2752kbOK55
1348ms2359kbOK55
1446ms655kbOK55
1555ms655kbOK510
16141ms20316kbOK5
1750ms262kbOK510
18138ms15204kbOK5
1952ms262kbOK50
20111ms20496kbMemory limit exceeded0
Punctaj total90

Ceva nu functioneaza?