Borderou de evaluare (job #3001801)

Utilizator shshshsStefanescu Serban shshshs Data 13 martie 2023 22:05:51
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void Adaugare(Trie*, char*)': main.cpp:19:12: warning: NULL used in arithmetic [-Wpointer-arith] 19 | if(*s==NULL) {nod->cnt++;return;} | ^~~~ main.cpp: In function 'bool Stergere(Trie*, char*)': main.cpp:29:12: warning: NULL used in arithmetic [-Wpointer-arith] 29 | if(*s==NULL) nod->cnt--; | ^~~~ main.cpp: In function 'int NrAp(Trie*, char*)': main.cpp:41:12: warning: NULL used in arithmetic [-Wpointer-arith] 41 | if(*s==NULL) return nod->cnt; | ^~~~ main.cpp: In function 'int Prefix(Trie*, char*, int)': main.cpp:47:12: warning: NULL used in arithmetic [-Wpointer-arith] 47 | if(*s==NULL||!nod->fiu[*s-'a']) return nivel; | ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbOK55
20ms184kbOK55
30ms184kbOK55
40ms184kbOK55
50ms184kbOK55
61ms172kbOK55
71ms303kbOK55
81ms303kbOK55
92ms565kbOK55
103ms1482kbOK55
114ms303kbOK55
124ms2834kbOK55
134ms2400kbOK55
144ms696kbOK55
159ms757kbOK510
1629ms19140kbOK5
1714ms401kbOK510
1824ms14036kbOK5
199ms352kbOK510
2034ms25501kbOK5
Punctaj total100

Ceva nu functioneaza?