Borderou de evaluare (job #2472910)

Utilizator mihailescu_eduardMihailescu Eduard-Florin mihailescu_eduard Data 13 octombrie 2019 10:40:06
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void Insert(TrieNode*, char*)': main.cpp:34:17: warning: NULL used in arithmetic [-Wpointer-arith] if(*word == NULL) ^~~~ main.cpp: In function 'void Erase(TrieNode*, char*)': main.cpp:48:17: warning: NULL used in arithmetic [-Wpointer-arith] if(*word == NULL) ^~~~ main.cpp: In function 'int CountApparitions(TrieNode*, char*)': main.cpp:58:17: warning: NULL used in arithmetic [-Wpointer-arith] if(*word == NULL) ^~~~ main.cpp: In function 'int MaxCommonLength(TrieNode*, char*, int)': main.cpp:72:17: warning: NULL used in arithmetic [-Wpointer-arith] if(*word == NULL || node->sons[*word - 'a'] == NULL || node->sons[*word - 'a']-> wordCount == 0) ^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
33ms131kbOK55
43ms131kbOK55
53ms131kbOK55
64ms131kbOK55
77ms262kbOK55
88ms262kbOK55
913ms524kbOK55
1020ms1441kbOK55
1123ms262kbOK55
1243ms2883kbOK55
1349ms2359kbOK55
1446ms786kbOK55
1555ms655kbOK510
16143ms20316kbOK5
1766ms262kbOK510
18139ms15335kbOK5
1966ms393kbOK510
20166ms25690kbOK5
Punctaj total100

Ceva nu functioneaza?