Borderou de evaluare (job #2399166)

Utilizator Daria09Florea Daria Daria09 Data 7 aprilie 2019 01:10:50
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 'short int CountApparition(Trie*, char*)': main.cpp:43:15: warning: NULL used in arithmetic [-Wpointer-arith] if(*word==NULL) ^~~~ main.cpp: In function 'short int Prefix(Trie*, char*, short int)': main.cpp:51:15: warning: NULL used in arithmetic [-Wpointer-arith] if(*word==NULL||node->son[*word-'a']==NULL||node->son[*word-'a']->wordcount==0) ^~~~ main.cpp: In function 'int main()': main.cpp:60:36: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=] while(scanf("%d%s", &type, word) == 2) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
32ms131kbOK55
43ms131kbOK55
53ms131kbOK55
64ms131kbOK55
76ms131kbOK55
88ms131kbOK55
914ms393kbOK55
1020ms1441kbOK55
1123ms262kbOK55
1242ms2752kbOK55
1351ms2359kbOK55
1446ms655kbOK55
1556ms655kbOK510
16134ms20316kbOK5
1762ms262kbOK510
18129ms15204kbOK5
1952ms262kbOK50
20107ms20496kbMemory limit exceeded0
Punctaj total90

Ceva nu functioneaza?