Borderou de evaluare (job #2806557)

Utilizator LucaMihaiLM10Luca Ilie LucaMihaiLM10 Data 22 noiembrie 2021 19:17:39
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'void insertTrie(trieNode*, char*, int)': main.cpp:34:32: warning: array subscript has type 'char' [-Wchar-subscripts] 34 | if ( temp->child[word[i]] == NULL ) | ~~~~~~^ main.cpp:35:31: warning: array subscript has type 'char' [-Wchar-subscripts] 35 | temp->child[word[i]] = createNode(); | ~~~~~~^ main.cpp:36:34: warning: array subscript has type 'char' [-Wchar-subscripts] 36 | temp = temp->child[word[i]]; | ~~~~~~^ main.cpp: In function 'void deleteTrie(trieNode*, char*, int)': main.cpp:49:32: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | if ( temp->child[word[i]] == NULL ) | ~~~~~~^ main.cpp:50:31: warning: array subscript has type 'char' [-Wchar-subscripts] 50 | temp->child[word[i]] = createNode(); | ~~~~~~^ main.cpp:51:34: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | temp = temp->child[word[i]]; | ~~~~~~^ main.cpp: In function 'int words(trieNode*, char*, int)': main.cpp:64:34: warning: array subscript has type 'char' [-Wchar-subscripts] 64 | temp = temp->child[word[i]]; | ~~~~~~^ main.cpp: In function 'int prefix(trieNode*, char*, int)': main.cpp:79:34: warning: array subscript has type 'char' [-Wchar-subscripts] 79 | temp = temp->child[word[i]]; | ~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms184kbOK55
22ms184kbIncorect00
32ms184kbIncorect00
42ms184kbIncorect00
52ms184kbIncorect00
62ms184kbIncorect00
72ms184kbIncorect00
86ms299kbIncorect00
96ms565kbIncorect00
1011ms1388kbIncorect00
1111ms372kbIncorect00
1230ms2899kbIncorect00
1335ms2424kbIncorect00
1430ms811kbIncorect00
1535ms770kbIncorect00
16120ms20426kbIncorect0
1740ms401kbIncorect00
18110ms15237kbIncorect0
1940ms397kbIncorect00
20139ms25788kbIncorect0
Punctaj total5

Ceva nu functioneaza?